diff --git a/.github/workflows/rust-ci-experiment-3.yml b/.github/workflows/rust-ci-experiment-3.yml new file mode 100644 index 0000000..653ef98 --- /dev/null +++ b/.github/workflows/rust-ci-experiment-3.yml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: MPL-2.0 +# governance.yml — single wrapper calling the shared estate governance bundle +# in hyperpolymath/standards instead of carrying per-repo copies. +# +# Replaces the per-repo governance scaffolding removed in the same commit: +# quality.yml, guix-nix-policy.yml, npm-bun-blocker.yml, ts-blocker.yml, +# security-policy.yml, rsr-antipattern.yml, wellknown-enforcement.yml, +# workflow-linter.yml +# +# Load-bearing build/security workflows stay standalone in the repo +# (rust-ci, codeql, dependabot, release, scan/mirror/pages plumbing). + +name: Governance + +on: + push: + branches: [main, master] + pull_request: + workflow_dispatch: + +# Estate guardrail: cancel superseded runs so re-pushes / rebased PR +# updates do not pile up queued runs against the shared account-wide +# Actions concurrency pool. Applied only to read-only check workflows +# (no publish/mutation), so cancelling a superseded run is always safe. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + governance: + uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@main diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci-v2.yml similarity index 59% rename from .github/workflows/rust-ci.yml rename to .github/workflows/rust-ci-v2.yml index 1b1b792..f56996e 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci-v2.yml @@ -1,17 +1,22 @@ # SPDX-License-Identifier: MPL-2.0 # Rust CI — thin wrapper calling the shared estate reusable in # hyperpolymath/standards. Configure once, propagate everywhere. -# See: docs/CI-REUSABLE-WORKFLOWS.adoc in standards. + name: Rust CI on: push: branches: [main, master] pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: rust-ci: - uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@cc5a372af1af1b202c17f1b21efd954e6c038bef + uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@main