55 branches :
66 - " master"
77 pull_request :
8-
8+ types : [opened, synchronize, edited]
99concurrency :
1010 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
1111 cancel-in-progress : true
2222 name : Pre-build checks
2323 runs-on : ubuntu-22.04
2424 timeout-minutes : 30
25+ if : |
26+ github.event.action != 'edited' ||
27+ contains(github.event.pull_request.body, 'Changelog')
2528 env :
2629 BOLTDIR : bolts
2730 strategy :
@@ -594,25 +597,6 @@ jobs:
594597 cat config.vars
595598 VALGRIND=0 uv run eatmydata pytest tests/ -vvv -n ${PYTEST_PAR} ${PYTEST_OPTS}
596599
597- check-flake :
598- name : Check Nix Flake
599- runs-on : ubuntu-22.04
600- strategy :
601- fail-fast : true
602- steps :
603- - name : Checkout
604- uses : actions/checkout@v4
605- with :
606- submodules : " recursive"
607- - name : Check Nix flake inputs
608- uses : DeterminateSystems/flake-checker-action@v8
609- - name : Install Nix
610- uses : cachix/install-nix-action@V27
611- with :
612- nix_path : nixpkgs=channel:nixos-24.05
613- - name : Check flake
614- run : nix flake check .?submodules=1#
615-
616600 gather :
617601 # A dummy task that depends on the full matrix of tests, and
618602 # signals successful completion. Used for the PR status to pass
@@ -625,19 +609,17 @@ jobs:
625609 - integration-valgrind
626610 - integration-sanitizers
627611 - min-btc-support
628- - check-flake
629612 if : ${{ always() }}
630613 steps :
631614 - name : Complete
632615 env :
633- JOB_NAMES : " INTEGRATION CHECK_UNITS VALGRIND SANITIZERS BTC FLAKE "
616+ JOB_NAMES : " INTEGRATION CHECK_UNITS VALGRIND SANITIZERS BTC"
634617 INTEGRATION : ${{ needs.integration.result }}
635618 CHECK_UNITS : ${{ needs['check-units'].result }}
636619 VALGRIND : ${{ needs['integration-valgrind'].result }}
637620 SANITIZERS : ${{ needs['integration-sanitizers'].result }}
638621 DOCS : ${{ needs['update-docs-examples'].result }}
639622 BTC : ${{ needs['min-btc-support'].result }}
640- FLAKE : ${{ needs['check-flake'].result }}
641623 run : |
642624 failed=""
643625 for name in $JOB_NAMES; do
0 commit comments