File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - cron : ' 29 23 * * 0'
1111 workflow_dispatch :
1212
13+ permissions :
14+ contents : read
15+
1316jobs :
1417 analyze :
1518 name : Analyze
Original file line number Diff line number Diff line change 66 types :
77 - completed
88
9- # This workflow needs to be run with "pull-requests: write" permissions to
10- # be able to comment on the pull request. We can't checkout the PR code
11- # in this workflow.
12- # Reference:
13- # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
149permissions :
15- pull-requests : write
10+ contents : read
1611
1712jobs :
1813 report-size :
1914 name : Comment on PR
2015 runs-on : ubuntu-latest
16+ # This job needs "pull-requests: write" permissions to be able to comment
17+ # on the pull request. We can't checkout the PR code in this workflow.
18+ # Reference:
19+ # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
20+ permissions :
21+ contents : read
22+ pull-requests : write
2123 if : github.event.workflow_run.event == 'pull_request' &&
2224 github.event.workflow_run.conclusion == 'success'
2325 steps :
You can’t perform that action at this time.
0 commit comments