Skip to content

Commit

Permalink
dependency-review: Enable adding a comment in PR on failure (#187)
Browse files Browse the repository at this point in the history
To make failures from `dependency-review` more noticeable and actionable,
enabling adding a comment in the PR on a failure state.

Should be backwards-compatible even if the calling action doesn't
have `pull-requests` write permission.
  • Loading branch information
reedloden authored Nov 27, 2023
1 parent 179c09c commit 18a4ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ jobs:
allow-licenses: 0BSD, Apache-2.0, BlueOak-1.0.0, BSD-2-Clause, BSD-2-Clause-FreeBSD, BSD-3-Clause, CC-BY-3.0, CC-BY-4.0, CC0-1.0, ISC, LGPL-2.1, MIT, MIT-0, MPL-2.0, ODC-By-1.0, OFL-1.1, Python-2.0, Unicode-DFS-2016, Unlicense, WTFPL, Zlib, (MIT OR Apache-2.0) AND Unicode-DFS-2016, Apache-2.0 AND BSD-3-Clause, ISC AND MIT, MIT AND Zlib, MIT AND BSD-3-Clause, MIT AND WTFPL
allow-ghsas: ${{ inputs.allow-ghsas }}
allow-dependencies-licenses: ${{ inputs.allow-dependencies-licenses }}
comment-summary-in-pr: on-failure
base-ref: ${{ inputs.base-ref || github.event.pull_request.base.sha || github.event.repository.default_branch }}
head-ref: ${{ inputs.head-ref || github.event.pull_request.head.sha || github.ref }}

0 comments on commit 18a4ccf

Please sign in to comment.