Skip to content

Commit

Permalink
nightly-release: Fix rtl-repo-sync permission error. (#1280)
Browse files Browse the repository at this point in the history
Whoops, #1271 broke the nightly build:

```
github/workflows/nightly-release.yml (Line: 10, Col: 3):
Error calling workflow
'chipsalliance/caliptra-sw/.github/workflows/rtl-repo-sync.yml@d51627a'.
The workflow is requesting 'contents: write, pull-requests: write',
but is only allowed 'contents: read, pull-requests: none'.
```

Give the rtl-repo-sync job the necessary permissions to create the
pull-request.
  • Loading branch information
korran authored Jan 19, 2024
1 parent 65e4939 commit 54b3be7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
rtl-repo-sync:
name: RTL Repo Sync
uses: ./.github/workflows/rtl-repo-sync.yml
permissions:
contents: write
pull-requests: write

find-latest-release:
name: Find Latest Release
Expand Down

0 comments on commit 54b3be7

Please sign in to comment.