From e24ffc914e932377ffa2478eb0783502a52f6fd9 Mon Sep 17 00:00:00 2001 From: fuma419 Date: Mon, 22 Apr 2024 21:12:43 +0000 Subject: [PATCH] eliminating the REPO_OWNER var. redundent --- .github/workflows/premerge.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/premerge.yml b/.github/workflows/premerge.yml index b1fda1892..ec4e45016 100644 --- a/.github/workflows/premerge.yml +++ b/.github/workflows/premerge.yml @@ -49,7 +49,7 @@ jobs: run: | echo "IS_FORK=${{ github.event.pull_request.head.repo.fork }}" >> $GITHUB_ENV echo "FORK_OWNER=${{ github.event.pull_request.head.repo.owner.login }}" >> $GITHUB_ENV - echo "REPO_OWNER=${{ github.repository_owner }}" >> $GITHUB_ENV + echo "G_ACCOUNT=${{ github.repository_owner }}" >> $GITHUB_ENV echo "COMMIT_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV - name: Setup G_ACCOUNT based on fork status @@ -59,7 +59,7 @@ jobs: BUILD_G_ACCOUNT="$FORK_OWNER" else echo "This means the PR is from the same repository" - BUILD_G_ACCOUNT="$REPO_OWNER" + BUILD_G_ACCOUNT="$G_ACCOUNT" fi - name: Testing guild-deploy.sh (IO fork of libsodium) run: |