Skip to content

Commit

Permalink
ci: set repo var within one step for sync-fork.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool authored Jan 2, 2024
1 parent f5506eb commit 93c5f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
if: ${{ github.repository_owner == matrix.FORK_OWNER }}
run: |
# required for actions scheduled via cron, as github.event.repository.name won't work
echo "REPO=$(basename ${{ github.repository }})" >> $GITHUB_ENV
REPO=$(basename ${{ github.repository }})
# sync the fork from upstream
gh repo sync ${{ github.repository }} --source $UPSTREAM_OWNER/$REPO --force

0 comments on commit 93c5f3a

Please sign in to comment.