Skip to content

Commit

Permalink
chore: fix format workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderniebuhr authored Apr 28, 2024
1 parent 131116c commit bbbb1d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,17 @@ jobs:
contents: write

steps:
- uses: actions/[email protected]
id: app-token
with:
app-id: ${{ vars.BOT_APPID }}
private-key: ${{ secrets.BOT_SECRET }}

- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
# Make sure the value of GITHUB_TOKEN will not be persisted in repo's config
persist-credentials: false
ref: ${{ github.head_ref }}

- name: Setup PNPM
Expand Down

0 comments on commit bbbb1d8

Please sign in to comment.