Try using default token with custom permissions

Issue gh-14993
This commit is contained in:
Marcus Hert Da Coregio 2024-05-03 13:32:42 -03:00
parent 62b3fe2e38
commit 8024b573fd

View File

@ -5,9 +5,13 @@ on:
- cron: '0 10 * * *' # Once per day at 10am UTC - cron: '0 10 * * *' # Once per day at 10am UTC
workflow_dispatch: workflow_dispatch:
permissions:
pull-requests: write
issues: write
jobs: jobs:
update: update:
name: Build name: Build
uses: spring-io/spring-security-release-tools/.github/workflows/update-antora-ui-spring.yml@7f9c379a5fa976c48285c83220b0a86ddc3a952c uses: spring-io/spring-security-release-tools/.github/workflows/update-antora-ui-spring.yml@7f9c379a5fa976c48285c83220b0a86ddc3a952c
secrets: secrets:
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}