Skip to content

Commit

Permalink
Rename the token to make its scope clearer (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jun 26, 2023
1 parent 9fb50a9 commit 0abfff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shadow-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ${{ vars.SHADOW_OWNER }}/${{ vars.SHADOW_REPO }}
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.SASS_SITE_TOKEN }}
ref: main
- name: Create branch on shadow repo
if: github.event_name == 'create'
Expand All @@ -46,7 +46,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ${{ vars.SHADOW_OWNER }}/${{ vars.SHADOW_REPO }}
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.SASS_SITE_TOKEN }}
ref: ${{ github.ref_name }}
path: shadow-repo
- name: Update shadow repo files
Expand Down

0 comments on commit 0abfff2

Please sign in to comment.