Skip to content

Commit

Permalink
set new token
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaojiaodubai committed Apr 17, 2024
1 parent 7f018f6 commit 8fc34ca
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/syncCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ on:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout this repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: this
token: ${{ secrets.WORKFLOW_TOKEN }}

- name: Checkout official repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: zotero/translators
path: official
token: ${{ secrets.WORKFLOW_TOKEN }}

- name: Copy CI related folders and files from official to this repository
run: |
Expand All @@ -39,5 +43,3 @@ jobs:
author_name: GitHub Actions Bot
author_email: [email protected]
message: 'Sync CI with official repository'
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

0 comments on commit 8fc34ca

Please sign in to comment.