Skip to content

Commit

Permalink
eliminating the REPO_OWNER var. redundent
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma419 committed Apr 22, 2024
1 parent a20c364 commit e24ffc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit e24ffc9

Please sign in to comment.