trigger workflow 3 #8
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: add comment on issue | |
on: | |
pull_request: | |
issues: | |
permissions: | |
issues: read | |
jobs: | |
comment_issue: | |
name: comment-issue-job | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: create a comment with git cli | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh issue comment ${{ github.event.issue.number }} --body "This is my test comment created with a workflow using github cli" |