From 4d52a3a88b37ec63aa88329533d5d598255d5c13 Mon Sep 17 00:00:00 2001 From: astrovm <~@4st.li> Date: Tue, 13 Oct 2026 17:42:37 -0300 Subject: [PATCH 1/2] Add CI / Required aggregate check --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4063fd9..33eead6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,3 +29,17 @@ jobs: run: python .github/scripts/validate-static.py . - name: Test static validation regressions run: python .github/scripts/test-validate-static.py + + required-ci: + name: CI / Required + # Always report a result, including when a prerequisite failed or was skipped. + if: ${{ always() && github.event_name == 'pull_request' }} + needs: + - validate + runs-on: ubuntu-26.04 + timeout-minutes: 5 + steps: + - name: Require every PR validation job to pass + env: + RESULTS: ${{ toJSON(needs.*.result) }} + run: jq --exit-status 'length > 0 and all(. != "failure" and . != "cancelled")' <<< "$RESULTS" From beb9c712c8466a56c8de10fbd078ef03c2b0a0ce Mon Sep 17 00:00:00 2001 From: astrovm <~@4st.li> Date: Tue, 13 Oct 2026 17:51:12 -0300 Subject: [PATCH 2/2] Limit CI / Required token permissions --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33eead6..8729561 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: - validate runs-on: ubuntu-26.04 timeout-minutes: 5 + permissions: {} steps: - name: Require every PR validation job to pass env: