Add perms for comment-summary-in-pr
This commit is contained in:
@@ -20,6 +20,8 @@ on:
|
|||||||
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
|
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/using-the-dependency-submission-api
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
# Required if `comment-summary-in-pr: true` is uncommented below
|
||||||
|
# pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dependency-review:
|
dependency-review:
|
||||||
@@ -29,7 +31,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: 'Dependency Review'
|
- name: 'Dependency Review'
|
||||||
uses: actions/dependency-review-action@v4
|
uses: actions/dependency-review-action@v4
|
||||||
# Commonly enabled options (https://github.com/actions/dependency-review-action#configuration-options)
|
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
|
||||||
# with:
|
# with:
|
||||||
# fail-on-severity: moderate
|
# fail-on-severity: moderate
|
||||||
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
|
# deny-licenses: GPL-1.0-or-later, LGPL-2.0-or-later
|
||||||
|
|||||||
Reference in New Issue
Block a user