Skip to content

Commit

Permalink
Use SYNC_TEST_REPO_ONLY twice
Browse files Browse the repository at this point in the history
  • Loading branch information
willhickey committed Mar 14, 2024
1 parent dd46a1b commit 64ec268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_upstream_from_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- v1.17

env:
GH_TOKEN: ${{ secrets.SYNC_TEST_ADMIN2 }}
GH_TOKEN: ${{ secrets.SYNC_TEST_REPO_ONLY }}
GH_REPO: ${{ github.repository }}
BRANCH_REF: ${{ github.ref_name }}
REF: ${{ github.event.REF}}
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
# By default checkout uses secrets.GITHUB_TOKEN. That token won't
# have any permissions in the upstream repo, so we need to override it
# with a Personal Access Token that can access both repos
token: ${{ secrets.SYNC_TEST_ADMIN2 }}
token: ${{ secrets.SYNC_TEST_REPO_ONLY }}
- name: Add remote for upstream
run: git remote add upstream $UPSTREAM
shell: bash
Expand Down

0 comments on commit 64ec268

Please sign in to comment.