Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
Fix workflow permission error as per aormsby/Fork-Sync-With-Upstream-action#44 (comment)
  • Loading branch information
tomboy40 authored Jul 13, 2024
1 parent 21f33cb commit 71b8225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_TOKEN }}

- name: Clean issue notice
uses: actions-cool/issues-helper@v3
Expand All @@ -32,7 +34,6 @@ jobs:
upstream_sync_repo: lobehub/lobe-chat
upstream_sync_branch: main
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
test_mode: false

- name: Sync check
Expand Down

0 comments on commit 71b8225

Please sign in to comment.