test-comment #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Comment on new issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
show-github-context: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "GitHub context" | |
run: echo '${{ toJSON(github.event) }}' | jq | |
shell: bash | |
# Add everything below this line1 | |
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 |