Skip to content

Commit

Permalink
Fix builds for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Beliar83 committed Apr 12, 2023
1 parent 369a473 commit f919dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Wait for static checks
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
ref: ${{ github.event_name != 'pull_request' && github.sha || github.event.pull_request.head.sha }}
check-name: 'Static Checks (clang-format, black format, file format, documentation checks)'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Wait for static checks
uses: lewagon/[email protected]
with:
ref: ${{ github.ref }}
ref: ${{ github.event_name != 'pull_request' && github.sha || github.event.pull_request.head.sha }}
check-name: 'Static Checks (clang-format, black format, file format, documentation checks)'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
Expand Down

0 comments on commit f919dff

Please sign in to comment.