Skip to content
Merged
14 changes: 4 additions & 10 deletions .github/workflows/EVENT_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:
cancel-in-progress: true

jobs:

get_changed_files:
name: Get changed files
uses: ./.github/workflows/JOB_get_changed_files.yml
Expand All @@ -24,6 +23,7 @@ jobs:
format:
name: Check format of python
needs: get_changed_files
if: needs.get_changed_files.outputs.python_changed_files != ''
uses: ./.github/workflows/JOB_format.yml
with:
files: ${{ needs.get_changed_files.outputs.python_changed_files }}
Expand All @@ -33,23 +33,17 @@ jobs:
lint:
name: Lint python
needs: get_changed_files
if: needs.get_changed_files.outputs.python_changed_files != ''
uses: ./.github/workflows/JOB_lint.yml
with:
files: ${{ needs.get_changed_files.outputs.python_changed_files }}
permissions:
contents: read

# typecheck:
# name: Analyse types in python
# needs: get_changed_files
# uses: ./.github/workflows/JOB_typecheck.yml
# with:
# files: ${{ needs.get_changed_files.outputs.python_changed_files }}
# permissions:
# contents: read

run_tests:
name: Run tests
needs: get_changed_files
if: needs.get_changed_files.outputs.python_changed_files != ''
uses: ./.github/workflows/JOB_tests.yml
permissions:
contents: read
2 changes: 1 addition & 1 deletion .github/workflows/version_bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2.10.4
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e
with:
egress-policy: audit

Expand Down
Loading