Skip to content

Commit

Permalink
Merge pull request #5106 from nrb/github-actions-fix
Browse files Browse the repository at this point in the history
Add permissions to the GitHub Actions token
  • Loading branch information
cblecker committed Aug 26, 2024
2 parents dff4d6c + e1e078b commit 4507c0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
description: 'Run code generation manually from GH CLI'
required: true
default: 'Make Generate'

permissions:
contents: write # Allow actions to update dependabot PRs

jobs:
build:
name: Build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request_target:
types: [opened, edited, synchronize, reopened]

permissions:
checks: write

jobs:
verify:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4507c0b

Please sign in to comment.