Skip to content

Commit 6e43623

Browse files
committed
Fix permissions
1 parent 2e8b53c commit 6e43623

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/dependabot-pr-trimmer.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1818

1919
name: Dependabot PR trimmer
20-
run-name: Filter message body of PR #
20+
run-name: Filter message body of PR ${{github.event.pull_request.number}}
2121

2222
on:
2323
pull_request:
@@ -29,10 +29,15 @@ on:
2929
type: string
3030
required: true
3131

32+
# Declare default permissions as read only.
33+
permissions: read-all
34+
3235
jobs:
33-
setup:
36+
filter-message:
37+
name: Filter PR message body
3438
runs-on: ubuntu-24.04
3539
timeout-minutes: 5
40+
permissions: write-all
3641
steps:
3742
- if: >-
3843
github.event.pull_request.user.login == 'dependabot[bot]' ||

0 commit comments

Comments
 (0)