File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ on : issue_comment
2+
3+ jobs :
4+ pr_commented :
5+ # This job only runs for pull request comments
6+ name : PR comment
7+ if : ${{ github.event.issue.pull_request }}
8+ runs-on : ubuntu-latest
9+ steps :
10+ - run : |
11+ echo A comment on PR $NUMBER
12+ env:
13+ NUMBER: ${{ github.event.issue.number }}
14+
15+ issue_commented :
16+ # This job only runs for issue comments
17+ name : Issue comment
18+ if : ${{ !github.event.issue.pull_request }}
19+ runs-on : ubuntu-latest
20+ steps :
21+ - run : |
22+ echo A comment on issue $NUMBER
23+ env:
24+ NUMBER: ${{ github.event.issue.number }}
25+
26+ context :
27+ name : Context
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/github-script@v7
31+ with :
32+ script : |
33+ console.dir(context, { depth: 10 });
You can’t perform that action at this time.
0 commit comments