From 93c5f3a98d5a6f5da24976adf3a64bbb3487447a Mon Sep 17 00:00:00 2001 From: Kelly Sovacool Date: Tue, 2 Jan 2024 11:02:33 -0500 Subject: [PATCH] ci: set repo var within one step for sync-fork.yml --- .github/workflows/sync-fork.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml index 4fe906f..3eb4bf7 100644 --- a/.github/workflows/sync-fork.yml +++ b/.github/workflows/sync-fork.yml @@ -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