ci: test only head of branch

This commit is contained in:
Andrei Dziahel
2023-12-12 18:46:40 -05:00
committed by Laurence Isla
parent 15f4157cc5
commit a6e4a0078b
+5
View File
@@ -11,6 +11,11 @@ on:
branches:
- main
- rel-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
# Terminate all previous runs of the same workflow and branch/tag, except for main and release branches/tags
cancel-in-progress: "${{ !(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/heads/rel-')) }}"
jobs:
Prepopulate-Nix-Cache-Linux: