Skip to content

Commit 1b7d963

Browse files
ci: cut Actions burn — scope push triggers + concurrency-cancel (#82)
Scope `push` to default branches (kills push+PR double-runs) and add `concurrency: cancel-in-progress` to read-only PR-triggered checks. Part of the estate CI-burn reduction (Actions spending-limit wall). Files changed: 1. No SPDX/logic changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 87b6642 commit 1b7d963

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/language-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-or-later
22
name: Language Policy Enforcement
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 so a PR fires once (not
9+
# push+PR), and cancel superseded runs. Safe — read-only PR-triggered check.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
413

514
permissions: read-all
615

0 commit comments

Comments
 (0)