Skip to content

Commit da7a61e

Browse files
authored
Merge pull request #2297 from actions/jonjanego-patch-1
Changing default behavior to include comment summary in PR
2 parents 6e4aae9 + 8aab15d commit da7a61e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

code-scanning/dependency-review.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ on:
2020
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
2121
permissions:
2222
contents: read
23-
# Required if `comment-summary-in-pr: true` is uncommented below
24-
# pull-requests: write
23+
# Write permissions for pull-requests are required for using the `comment-summary-in-pr` option, comment out if you aren't using this option
24+
pull-requests: write
2525

2626
jobs:
2727
dependency-review:
@@ -32,8 +32,8 @@ jobs:
3232
- name: 'Dependency Review'
3333
uses: actions/dependency-review-action@v4
3434
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
35-
# with:
35+
with:
36+
comment-summary-in-pr: always
3637
# fail-on-severity: moderate
3738
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
38-
# comment-summary-in-pr: true
3939
# retry-on-snapshot-warnings: true

0 commit comments

Comments
 (0)