Skip to content

Commit ce3b773

Browse files
authored
Modify permissions in dependency-review.yml
Updated permissions for dependency review workflow.
1 parent 6f4c4a2 commit ce3b773

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/dependency-review.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ on:
1414

1515
# If using a dependency submission action in this workflow this permission will need to be set to:
1616
#
17-
# permissions:
18-
# contents: write
17+
permissions:
18+
contents: write
19+
pull-requests: write
1920
#
2021
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
21-
permissions:
22-
contents: read
22+
# permissions:
23+
# contents: read
2324
# 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
25+
# pull-requests: write
2526

2627
jobs:
2728
dependency-review:

0 commit comments

Comments
 (0)