Rename the token to make its scope clearer (#748)

This commit is contained in:
Natalie Weizenbaum 2023-06-26 16:12:47 -07:00 committed by GitHub
parent 9fb50a9c9a
commit 0abfff2d93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
@ -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