File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 uses : ./.github/workflows/build.yaml
1919 permissions :
2020 contents : read
21+
22+ comment-audit :
23+ runs-on : ubuntu-latest
24+ permissions :
25+ pull-requests : write
26+ needs : build
27+ steps :
28+
29+ - name : Download artifact from Build
30+ uses : actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # v3
31+ # if: steps.audit-packages.outputs.exit_code == 1
32+ with :
33+ name : vulnerabilities.txt
34+
35+ - name : comment PR
36+ id : comment-pr
37+ run : gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
38+ # if: steps.audit-packages.outputs.exit_code == 1
39+ env :
40+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 5252 env :
5353 PR_BASE_REF : ${{ github.event.pull_request.base.ref }}
5454 PR_HEAD_REF : ${{ github.event.pull_request.head.ref }}
55- PR_HEAD_REPO_CLONE_URL : ${{ github.event.pull_request.head.repo.clone_url }}
56-
57- comment-audit :
58- runs-on : ubuntu-latest
59- permissions :
60- pull-requests : write
61- needs : [build]
62- steps :
63-
64- - name : Download artifact from Build
65- uses : actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # v3
66- # if: steps.audit-packages.outputs.exit_code == 1
67- with :
68- name : vulnerabilities.txt
69-
70- - name : comment PR
71- id : comment-pr
72- run : gh pr comment ${{ github.event.number }} --body-file vulnerabilities.txt
73- # if: steps.audit-packages.outputs.exit_code == 1
74- env :
75- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55+ PR_HEAD_REPO_CLONE_URL : ${{ github.event.pull_request.head.repo.clone_url }}
You can’t perform that action at this time.
0 commit comments