ci: bump dawidd6/action-send-mail from 6e502825a508b867ab2954ad6343b68787624c01 to c50dc4cc848ade21f848990889906d804fae78c5 #985
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-License-Identifier: MPL-2.0 | |
| # | |
| # Standalone governance gate. Previously a thin caller of | |
| # `hyperpolymath/standards/.github/workflows/governance-reusable.yml@main`; | |
| # that cross-repo dependency (a) coupled this repo's CI to another repo's | |
| # moving `@main` and (b) startup-failed because a `concurrency:` block in a | |
| # reusable-workflow caller, when the reusable also declares concurrency on the | |
| # same key, is rejected at run-creation (the BP008 class — see | |
| # spark-theatre-gate.yml's note). This self-contained version runs the repo's | |
| # own conservative, delta-aware checks (tools/ci/governance-standalone.sh) and | |
| # is a normal workflow, so the concurrency block is safe to keep. | |
| name: Governance | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| governance: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Fetch base ref (DOC-FORMAT delta) | |
| if: github.event_name == 'pull_request' | |
| run: git fetch --no-tags origin "+refs/heads/${GITHUB_BASE_REF}:refs/remotes/origin/${GITHUB_BASE_REF}" | |
| - name: Run governance gate | |
| env: | |
| GITHUB_BASE_REF: ${{ github.base_ref }} | |
| run: ./tools/ci/governance-standalone.sh |