Skip to content

Commit 9f4d68e

Browse files
committed
Add summary of dependency review as comment in the PR (nginx#753)
Adds additional config option to add the summary of the dependency changes as a comment in the PR. The additional permission of 'pull-requests: write' is required to post the comment.
1 parent c1a4c7c commit 9f4d68e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/dependency-review-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ allow_licenses:
1010
- OpenSSL
1111
- Python-2.0
1212
- X11
13+
comment-summary-in-pr: true

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ permissions:
77
jobs:
88
dependency-review:
99
runs-on: ubuntu-22.04
10+
permissions:
11+
contents: read
12+
pull-requests: write
1013
steps:
1114
- name: "Checkout Repository"
1215
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

0 commit comments

Comments
 (0)