Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add GitHub Action to automatically respond to new issues #554

Merged
merged 4 commits into from
Jul 31, 2024

Conversation

dylanpulver
Copy link
Collaborator

Description
This pull request adds a new GitHub Action that automatically responds to new issues created in the repository. The action is configured to trigger whenever a new issue is opened and posts a predefined comment thanking the user and acknowledging the issue.

Changes

  • Added a new GitHub Action workflow file .github/workflows/issue-responder.yml.
  • Configured the workflow to trigger on the issues event with the type opened.
  • The action uses actions/github-script@v7 to post a comment on the newly created issue.
  • The comment includes the title and body of the issue and a thank-you message.
  • The comment will appear as if posted by the account associated with the GITHUB_TOKEN.
  • This setup ensures a single response per new issue.

@dylanpulver dylanpulver merged commit 81a9db3 into main Jul 31, 2024
12 checks passed
@dylanpulver dylanpulver deleted the feature/issue-responder-bot branch July 31, 2024 14:22
@dylanpulver dylanpulver mentioned this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants