Skip to content

Commit 794b7be

Browse files
committed
ci: cut Actions burn in .github/workflows/guix-nix-policy.yml (scope push + concurrency-cancel)
1 parent a1f5ea2 commit 794b7be

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/guix-nix-policy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# SPDX-License-Identifier: MPL-2.0
22
name: Guix/Nix Package Policy
3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
8+
# Estate guardrail: scope push to default branches (PR fires once, not
9+
# push+PR) and cancel superseded runs. Safe — read-only PR check.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
413

514
permissions:
615
contents: read

0 commit comments

Comments
 (0)