File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5353 PR_BASE_REF : ${{ github.event.pull_request.base.ref }}
5454 PR_HEAD_REF : ${{ github.event.pull_request.head.ref }}
5555 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 }}
You can’t perform that action at this time.
0 commit comments