Skip to content

Commit c365c94

Browse files
committed
Need to pass GH_TOKEN to "gh" command
1 parent 6e43623 commit c365c94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
github.event.pull_request.user.login == 'dependabot[bot]' ||
4444
github.event_name == 'workflow_dispatch'
4545
env:
46+
GH_TOKEN: ${{github.token}}
4647
pr-number: ${{inputs.pr-number || github.event.pull_request.number}}
4748
run: |
4849
gh pr view ${{env.pr-number}} --json body --jq .body |\

0 commit comments

Comments
 (0)