Feature Request: Add option for providing PR context (useful for workflow_run
)
#1146
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 run" | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
comment-run: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# 0 indicates all history | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- uses: nwtgck/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
allowed-associations: '["OWNER"]' |