Skip to content

Commit

Permalink
Grant gh_token with sufficient permissions (#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyams committed Mar 13, 2024
1 parent 0c47754 commit 0c8298a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
outputs:
version: ${{ steps.create-github-release.outputs.version }}
steps:
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
echo "version=$VERSION" >> ${GITHUB_OUTPUT}
create-docs-pull-request:
permissions: write-all
needs:
- release
uses: ./.github/workflows/reusable-create-docs-pull-request.yml
Expand All @@ -64,6 +66,7 @@ jobs:
AARON_MAXWELL_TOKEN: ${{ secrets.AARON_MAXWELL_TOKEN }}

create-version-bump-pull-request:
permissions: write-all
needs:
- release
uses: ./.github/workflows/reusable-create-version-bump-pull-request.yml
Expand Down

0 comments on commit 0c8298a

Please sign in to comment.