Flash-Fathom-AI icon indicating copy to clipboard operation
Flash-Fathom-AI copied to clipboard

Addition of automate issue create message

Open Soumyosish opened this issue 1 year ago • 0 comments

Add Automated Issue Comment on Issue Creation

Description Set up a GitHub Actions workflow that automatically posts a welcome comment when a new issue is created. This guides contributors on the next steps after filing an issue.

What Needs to Be Done

  1. Create a new workflow file: .github/workflows/issue-welcome.yml
  2. The workflow should trigger on issues events (type: opened)
  3. Post an automated comment with:
    • Thank you message
    • Reminder to wait for issue assignment before starting work
    • How to self-assign: comment .take
    • Link to contribution guidelines and code of conduct
    • Note about DSCWoC program and scoring

Example Workflow

name: Issue Welcome Comment
on:
  issues:
    types: [opened]
jobs:
  comment:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
      - uses: actions/github-script@v7
        with:
          script: |
            github.rest.issues.createComment({
              owner: context.repo.owner,
              repo: context.repo.repo,
              issue_number: context.payload.issue.number,
              body: "Thank you for opening this issue!..."
            });

Note: A .take workflow already exists at .github/workflows/take-issue.yaml for issue self-assignment. This new workflow complements it by providing guidance immediately when an issue is created.

Files to Create

  • .github/workflows/issue-welcome.yml

Acceptance Criteria

  • [ ] Automated comment posted on every new issue
  • [ ] Comment includes next steps and guidelines
  • [ ] References .take command for self-assignment
  • [ ] Does not conflict with existing take-issue workflow

Soumyosish avatar Aug 29 '25 09:08 Soumyosish