Skip to content

Commit

Permalink
Adjust checks
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Oct 19, 2024
1 parent a44f39b commit cc841ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/validate-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
ref: ${{ github.head_ref }}
ref: "refs/pull/${{ github.event.number }}/merge"
fetch-depth: 2

- name: Sanity Check
run: |
[[ "$(git rev-parse 'HEAD^2')" == "${{ github.event.pull_request.head.sha }}" ]]
- name: Azure login (OIDC)
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/validate-recommendations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:

- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
ref: ${{ github.head_ref }}

- name: Set up Python 3.x
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
Expand Down

0 comments on commit cc841ed

Please sign in to comment.