Skip to content

Commit

Permalink
chore(ci): do not use environment variables where not allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan authored Apr 15, 2024
1 parent 63662b0 commit 4093c50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
prebuild:
uses: ./.github/workflows/prebuild.yml
with:
ref: ${{ env.GIT_REF }}
repository: ${{ env.GIT_REPO }}
# Sadly, we cannot use environment variables here
ref: ${{ github.head_ref || github.ref }}
repository: ${{ github.repository }}
test:
needs: [prebuild]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4093c50

Please sign in to comment.