diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 60cc60c..d75b0cd 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -1,6 +1,15 @@ # SPDX-License-Identifier: MPL-2.0 name: Code Quality -on: [push, pull_request] +on: + push: + branches: [main, master] + pull_request: + +# Estate guardrail: scope push to default branches so a PR fires once (not +# push+PR), and cancel superseded runs. Safe — read-only PR-triggered check. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: read-all