Skip to content

Commit

Permalink
Fix: Allow dependency review workflow to add comments to a PR
Browse files Browse the repository at this point in the history
The workflow requires the pull-request write permission because it wants
to add a comment to the current PR.
  • Loading branch information
bjoernricks committed Feb 10, 2025
1 parent 6400e32 commit 309bf9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: 'Dependency Review'
on: [pull_request]

on:
pull_request

permissions:
contents: read
pull-requests: write

jobs:
dependency-review:
Expand Down

0 comments on commit 309bf9e

Please sign in to comment.