Skip to content

Commit

Permalink
ci: check out with token
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Jan 20, 2025
1 parent ba76249 commit b3e8770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sync-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
with:
app-id: ${{ vars.GHA_APP_ID }}
private-key: ${{ secrets.GHA_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}

- name: Get GitHub App User ID
if: ${{ github.event_name == 'push' }}
Expand Down

0 comments on commit b3e8770

Please sign in to comment.