Skip to content

Commit

Permalink
fix token ref
Browse files Browse the repository at this point in the history
  • Loading branch information
burner1024 committed Sep 10, 2023
1 parent 2151c6e commit fc1864b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: master
token: ${{ secrets.target_repo_token }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Pull (Fast-Forward) upstream changes
id: sync
Expand All @@ -25,7 +25,7 @@ jobs:
upstream_sync_branch: master
upstream_pull_args: "--all"
target_sync_branch: master
target_repo_token: ${{ secrets.target_repo_token }}
target_repo_token: ${{ secrets.GITHUB_TOKEN }}

sync_bgforge: # bgforge is a branch with cosmetic changes
runs-on: ubuntu-latest
Expand All @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: bgforge
token: ${{ secrets.target_repo_token }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Pull (Fast-Forward) upstream changes (bgforge)
Expand All @@ -46,7 +46,7 @@ jobs:
upstream_sync_branch: master
upstream_pull_args: "--all"
target_sync_branch: bgforge
target_repo_token: ${{ secrets.target_repo_token }}
target_repo_token: ${{ secrets.GITHUB_TOKEN }}

sync_ielib: # ielib is a branch with data changes, necessary for import into BGforge MLS and IElib
runs-on: ubuntu-latest
Expand All @@ -56,7 +56,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: ielib
token: ${{ secrets.target_repo_token }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Pull (Fast-Forward) upstream changes (ielib)
Expand All @@ -67,4 +67,4 @@ jobs:
upstream_sync_branch: master
upstream_pull_args: "--all"
target_sync_branch: ielib
target_repo_token: ${{ secrets.target_repo_token }}
target_repo_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fc1864b

Please sign in to comment.