Skip to content

Commit

Permalink
comment on new issues added to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alisha-k-kalladassery committed Dec 5, 2024
1 parent e85d68f commit a3747db
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/comment-on-new-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,19 @@ jobs:
- name: "GitHub context"
run: echo '${{ toJSON(github.event) }}' | jq
shell: bash

# Add everything below this line
create-comment:
runs-on: ubuntu-latest
steps:
- name: "Comment on new issue"
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.issue.number }} # Uses the hierarchy of the event to get the issue number
body: |
This is a multi-line test comment
- With GitHub **Markdown** :sparkles:
- Created by [create-or-update-comment][1]
[1]: https://github.com/peter-evans/create-or-update-comment
reactions: eyes

0 comments on commit a3747db

Please sign in to comment.