diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 3a4f694373..4c7be70915 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -29,7 +29,7 @@ jobs: uses: eskatos/gradle-command-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HEAD_REF: ${{ github.head_ref }} + HEAD_REF: ${{ github.ref }} with: arguments: "clean build" diff --git a/.github/workflows/windows-non-wsl-workflow.yml b/.github/workflows/windows-non-wsl-workflow.yml index a4f36198e1..89375c063b 100644 --- a/.github/workflows/windows-non-wsl-workflow.yml +++ b/.github/workflows/windows-non-wsl-workflow.yml @@ -30,7 +30,7 @@ jobs: shell: cmd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HEAD_REF: ${{ github.head_ref }} + HEAD_REF: ${{ github.ref }} run: | gradlew.bat clean build diff --git a/.github/workflows/wsl-workflow.yml b/.github/workflows/wsl-workflow.yml index 04fedbdbbd..b026f077e9 100644 --- a/.github/workflows/wsl-workflow.yml +++ b/.github/workflows/wsl-workflow.yml @@ -45,7 +45,7 @@ jobs: - name: Gradle clean build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - HEAD_REF: ${{ github.head_ref }} + HEAD_REF: ${{ github.ref }} run: | ./gradlew clean build