diff --git a/.github/stack-departures.txt b/.github/stack-departures.txt index 00c74360..9bbae021 100644 --- a/.github/stack-departures.txt +++ b/.github/stack-departures.txt @@ -58,3 +58,8 @@ architecture C7 failure-only-verdict .github/workflows/release.yml 7a1229133f8a7 model-pin bench-asr/pins.json whisper-large-v3-turbo 1 model-pin bench-asr/plan.py whisper-large-v3-turbo 1 # stack-rule-adopted-v1 architecture/C1/cache-economy +# force-push-ratchet-v1 +# stack-rule-adopted-v1 architecture/C1/deal-randomness +# stack-rule-adopted-v1 architecture/C2/tenant-read-functions +# stack-rule-adopted-v1 force-push +# stack-rule-adopted-v1 model-selector diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29daa220..fc4936a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: pull_request: branches: - main - types: [opened, synchronize, reopened, ready_for_review] + types: [opened, synchronize, reopened, ready_for_review, edited] # Least privilege for GITHUB_TOKEN (CodeQL actions/missing-workflow-permissions). permissions: @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: SylphxAI/.github/.github/actions/main-red-gate@4dcc910606d7624150d2004f2dd970eb570de30e # main + - uses: SylphxAI/.github/.github/actions/main-red-gate@054710a09ce85a2e0edbc14599bd00df0db879be # main with: mode: observe @@ -44,7 +44,7 @@ jobs: fetch-depth: 0 - name: Check added lines for plain language - uses: SylphxAI/.github/.github/actions/plain-language@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/actions/plain-language@054710a09ce85a2e0edbc14599bd00df0db879be # main identifiers: name: Identifiers @@ -58,7 +58,7 @@ jobs: fetch-depth: 0 - name: Non-v7 ids on added lines (owner standards/identifiers.md) - uses: SylphxAI/.github/.github/actions/identifiers@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/actions/identifiers@054710a09ce85a2e0edbc14599bd00df0db879be # main chat-senders: name: Chat senders @@ -72,7 +72,7 @@ jobs: fetch-depth: 0 - name: Added lines send chat through Notify - uses: SylphxAI/.github/.github/actions/chat-senders@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/actions/chat-senders@054710a09ce85a2e0edbc14599bd00df0db879be # main with: mode: fail @@ -126,7 +126,7 @@ jobs: run: bash scripts/check-github-actions.sh - name: Brand home matches its masters - uses: SylphxAI/.github/.github/actions/brand@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/actions/brand@054710a09ce85a2e0edbc14599bd00df0db879be # main - name: Setup Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 @@ -187,7 +187,7 @@ jobs: with: fetch-depth: 0 # full history for the new-commit range - name: Secret scan (ADR-6 security:secrets) - uses: SylphxAI/.github/.github/actions/secret-scan@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/actions/secret-scan@054710a09ce85a2e0edbc14599bd00df0db879be # main with: config-path: .gitleaks.toml @@ -213,7 +213,7 @@ jobs: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 with: filter: blob:none - - uses: SylphxAI/.github/.github/actions/stack-conformance@4dcc910606d7624150d2004f2dd970eb570de30e # main + - uses: SylphxAI/.github/.github/actions/stack-conformance@054710a09ce85a2e0edbc14599bd00df0db879be # main with: base: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || '' }} @@ -224,8 +224,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: SylphxAI/.github/.github/actions/needs-pass@4dcc910606d7624150d2004f2dd970eb570de30e # main + - uses: SylphxAI/.github/.github/actions/needs-pass@067656cfe8f8d1ff888aa9c70e442b75372dea8d # main with: needs: ${{ toJSON(needs) }} - required: changes + required: changes,stack required-unless-merge-group: ${{ github.event.pull_request.draft && ' ' || 'suite' }} diff --git a/.github/workflows/red-main.yml b/.github/workflows/red-main.yml index f4e6dbfe..4c69e5d9 100644 --- a/.github/workflows/red-main.yml +++ b/.github/workflows/red-main.yml @@ -50,7 +50,7 @@ jobs: issues: write pull-requests: write id-token: write - uses: SylphxAI/.github/.github/workflows/red-main.yml@4dcc910606d7624150d2004f2dd970eb570de30e # main + uses: SylphxAI/.github/.github/workflows/red-main.yml@054710a09ce85a2e0edbc14599bd00df0db879be # main # One secret, passed by name. The handler needs exactly the builder App's # private key, and `secrets: inherit` would hand it every secret this # repository holds. The handler reads it as diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 243a35cb..5eb7409a 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -256,12 +256,17 @@ jobs: # The marker. Named exactly `verified`; never a required check. verified: + permissions: + contents: read + actions: read + checks: read + pull-requests: read name: verified if: always() needs: [docs, audit, rust, other-os, release-targets] runs-on: ubuntu-latest timeout-minutes: 5 steps: - - uses: SylphxAI/.github/.github/actions/needs-pass@4dcc910606d7624150d2004f2dd970eb570de30e # main + - uses: SylphxAI/.github/.github/actions/needs-pass@067656cfe8f8d1ff888aa9c70e442b75372dea8d # main with: needs: ${{ toJSON(needs) }}