Initial sync of downstream development work into StackHPC fork #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality Checks PR | |
concurrency: | |
group: Quality-Checks-PR-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
merge_group: | |
pull_request: null | |
jobs: | |
quality-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: ${{ github.event_name == 'pull_request' && format('--from-ref {0} --to-ref {1}', github.event.pull_request.base.sha, github.event.pull_request.head.sha) || '' }} |