diff --git a/.gitea/workflows/secret-scan.yml b/.gitea/workflows/secret-scan.yml index 6f1583f4e..bf552b50b 100644 --- a/.gitea/workflows/secret-scan.yml +++ b/.gitea/workflows/secret-scan.yml @@ -30,6 +30,11 @@ jobs: scan: name: Scan diff for credential-shaped strings runs-on: ubuntu-latest + # Hard CI gate — must complete or the PR is unmergable. 10-minute ceiling + # is generous for a diff-scan against a single SHA. If this times out, the + # runner is frozen and holding a slot — the step timeout triggers clean + # failure, releasing the runner for the next job. + timeout-minutes: 10 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: