Skip to content

Commit 83b2c26

Browse files
zcgclaude
andcommitted
fix: specify repo for gh workflow run command
The gh CLI defaults to upstream repo in forks, explicitly specify ${{ github.repository }} to run workflow on current fork. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8dc50b6 commit 83b2c26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sync-upstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ jobs:
8989
env:
9090
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9191
run: |
92-
gh workflow run 88code-release.yml
92+
gh workflow run 88code-release.yml --repo ${{ github.repository }}

0 commit comments

Comments
 (0)