@@ -14,13 +14,7 @@ concurrency:
1414jobs :
1515 change-detection :
1616 name : 🔍 Change
17- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@v1.16
18-
19- python-linter :
20- name : 🐍 Lint
21- needs : change-detection
22- if : fromJSON(needs.change-detection.outputs.run-python-tests)
23- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter.yml@v1.16
17+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-change-detection.yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
2418
2519 python-tests :
2620 name : 🐍 Test
@@ -30,62 +24,57 @@ jobs:
3024 fail-fast : false
3125 matrix :
3226 runs-on : [ubuntu-24.04, macos-14, windows-2022]
33- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@v1.16
27+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-tests.yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
3428 with :
3529 runs-on : ${{ matrix.runs-on }}
3630
3731 python-coverage :
3832 name : 🐍 Coverage
3933 needs : [change-detection, python-tests]
4034 if : fromJSON(needs.change-detection.outputs.run-python-tests)
41- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@v1.16
35+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-coverage.yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
4236 permissions :
4337 contents : read
4438 id-token : write
4539
46- code-ql :
47- name : 📝 CodeQL
40+ python-linter :
41+ name : 🐍 Lint
4842 needs : change-detection
49- if : fromJSON(needs.change-detection.outputs.run-code-ql )
50- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-code-ql- python.yml@v1.16
43+ if : fromJSON(needs.change-detection.outputs.run-python-tests )
44+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-linter .yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
5145
5246 build-sdist :
5347 name : 🚀 CD
5448 needs : change-detection
5549 if : fromJSON(needs.change-detection.outputs.run-cd)
56- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@v1.16
50+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-sdist.yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
5751
5852 build-wheel :
5953 name : 🚀 CD
6054 needs : change-detection
6155 if : fromJSON(needs.change-detection.outputs.run-cd)
62- uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@v1.16
56+ uses : munich-quantum-toolkit/workflows/.github/workflows/reusable-python-packaging-wheel-build.yml@56cf3608b07dc10bda5b98d77ed6ad21ecf7ef5d # v1.17.0
6357
6458 # this job does nothing and is only used for branch protection
6559 required-checks-pass :
6660 name : 🚦 Check
6761 if : always()
6862 needs :
6963 - change-detection
70- - python-linter
7164 - python-tests
7265 - python-coverage
73- - code-ql
66+ - python-linter
7467 - build-sdist
7568 - build-wheel
7669 runs-on : ubuntu-latest
7770 steps :
7871 - name : Decide whether the needed jobs succeeded or failed
79- uses : re-actors/alls-green@release/v1
72+ uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
8073 with :
8174 allowed-skips : >-
8275 ${{
8376 fromJSON(needs.change-detection.outputs.run-python-tests)
84- && '' || 'python-linter,python-tests,python-coverage,'
85- }}
86- ${{
87- fromJSON(needs.change-detection.outputs.run-code-ql)
88- && '' || 'code-ql,'
77+ && '' || 'python-tests,python-coverage,python-linter,'
8978 }}
9079 ${{
9180 fromJSON(needs.change-detection.outputs.run-cd)
0 commit comments