mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-10-14 05:23:05 +00:00
fix(autoupdate): let Renovate read issues in a private repo
Renovate queries the repository issues when it starts. The job token had no issues permission, so a private repo returned FORBIDDEN and Renovate stopped with platform-unknown-error. Public repos expose issues, which hid the problem. Grant issues: read to the Renovate job.
This commit is contained in:
@@ -104,6 +104,8 @@ jobs:
|
|||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
# Renovate reads the repository's issues when it starts. A private repo refuses that without this.
|
||||||
|
issues: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
outputs:
|
outputs:
|
||||||
branches: ${{ steps.list.outputs.branches }}
|
branches: ${{ steps.list.outputs.branches }}
|
||||||
|
|||||||
Reference in New Issue
Block a user