Repository navigation
chore(deps): bump rustls from 0.23.45 to 0.23.46 in /bots/rhodibot #1745
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
| # This workflow is managed by gh actions-lock. | |
| # SPDX-License-Identifier: MPL-2.0 | |
| # This workflow is managed by gh actions-lock. | |
| # This workflow is managed by gh actions-lock. | |
| name: E2E Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: ['**'] | |
| permissions: {} | |
| jobs: | |
| e2e: | |
| name: E2E tests | |
| permissions: | |
| actions: read | |
| contents: read | |
| needs: pinned-source-closure | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Require verified pinned-source closure | |
| env: | |
| CLOSURE_RESULT: ${{ needs.pinned-source-closure.result }} | |
| run: | | |
| if [ "$CLOSURE_RESULT" != success ]; then | |
| echo "Pinned-source closure did not pass: $CLOSURE_RESULT" >&2 | |
| exit 1 | |
| fi | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Audit workflow lock auditor dependencies | |
| run: | | |
| set -euo pipefail | |
| # Official RustSec binary, immutable content hash from its release asset. | |
| archive="$RUNNER_TEMP/cargo-audit.tgz" | |
| curl --proto '=https' --proto-redir '=https' -fsSL --retry 3 https://github.com/rustsec/rustsec/releases/download/cargo-audit/v0.22.2/cargo-audit-x86_64-unknown-linux-gnu-v0.22.2.tgz -o "$archive" | |
| printf '%s %s\n' ab28a1bdb54db4d5d8ad5981cf1f959410370b3d28250dbd35f6a44248620e39 "$archive" | sha256sum -c - | |
| tar -xzf "$archive" -C "$RUNNER_TEMP" | |
| "$RUNNER_TEMP/cargo-audit-x86_64-unknown-linux-gnu-v0.22.2/cargo-audit" audit --file tools/workflow-lock-audit/Cargo.lock --deny warnings | |
| - name: Test workflow lock-map and regeneration audit | |
| run: | | |
| cargo test --locked --manifest-path tools/workflow-lock-audit/Cargo.toml | |
| bash scripts/audit-workflow-lock-map.sh | |
| - name: Verify automation quarantine | |
| run: bash tests/automation-quarantine-test.sh | |
| - name: Verify fix-outcome verdicts | |
| run: bash tests/outcome-verdict-test.sh | |
| - name: PA rule IDs agree with panic-attack's table | |
| run: bash tests/panic-attack-rule-ids-test.sh | |
| - name: Run E2E tests | |
| run: bash tests/e2e.sh | |
| - name: Verify canonical descriptile policy repair | |
| run: bash tests/retired-descriptile-policy-test.sh | |
| - name: Verify star-list enrollment discovery | |
| run: bash tests/enroll-discovery-test.sh | |
| - name: Verify the fleet report-back driver (envelope contract) | |
| run: bash tests/fleet-report-back-test.sh | |
| - name: Fleet enrolment fixer (report-back rollout) | |
| run: bash tests/fix-fleet-enrolment-test.sh | |
| pinned-source-closure: | |
| name: Pinned source closure | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Set source cache | |
| run: printf 'PINNED_SOURCE_CACHE=%s/fleet-pinned-sources\n' "$RUNNER_TEMP" >> "$GITHUB_ENV" | |
| - name: Test pinned-source failure modes | |
| run: bash scripts/tests/pinned-reusable-sources-test.sh | |
| - name: Authenticate pinned reusable sources | |
| run: bash scripts/audit-pinned-reusable-sources.sh --fetch-sources | |
| - name: Preserve lock closure contracts | |
| run: bash scripts/tests/lock-closure-test.sh | |
| - name: Audit vendor lock and pinned-source closure | |
| run: ./scripts/audit-lock-closure.sh | |
| - name: Test source closure through migration preflight | |
| run: bash scripts/tests/pinned-source-entrypoints-test.sh | |
| - name: Prepared secret-scanner migration stays gated | |
| run: | | |
| # 0 = every precondition holds, 2 = evidence still missing (expected | |
| # until the unified-dataset-vocab canary lands). 1 and 3 are findings | |
| # in the prepared migration and must fail the build. | |
| rc=0 | |
| ./docs/migrations/secret-scanner-cicd-suite/preflight.sh --quiet || rc=$? | |
| case "$rc" in | |
| 0|2) echo "preflight exit $rc (no findings)";; | |
| *) echo "preflight exit $rc: findings in the prepared migration" >&2; exit 1;; | |
| esac |