Skip to content

Commit

Permalink
Fix git reference
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Oct 22, 2024
1 parent e61f8dc commit 8136bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
ref: "refs/pull/${{ github.event.number }}/merge"
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 2

- name: Sanity Check
run: |
[[ "$(git rev-parse 'HEAD^2')" == "${{ github.event.pull_request.head.sha }}" ]]
[[ "$(git rev-parse 'HEAD')" == "${{ github.event.pull_request.head.sha }}" ]] || exit 1
- name: Azure login (OIDC)
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
Expand Down

0 comments on commit 8136bdd

Please sign in to comment.