diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 3accb23..011c480 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -3,13 +3,18 @@ # Docs: https://gh.io/actions-lockfile version: 'v0.0.2' workflows: + '.github/workflows/codeql.yml': + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63' '.github/workflows/documentation-integrity.yml': [] '.github/workflows/label-triage.yml': [] '.github/workflows/labels.yml': [] + '.github/workflows/main-estate-audit.yml': [] '.github/workflows/proofs.yml': - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' '.github/workflows/push-email-notify.yml': - 'hyperpolymath/smtp-notify-action@v0.2.0' + '.github/workflows/scorecard.yml': [] '.github/workflows/secret-scanner.yml': [] dependencies: 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1': @@ -17,6 +22,11 @@ dependencies: commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' owner_id: 44036562 repo_id: 197814629 + 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63': + ref: 'b96794f015dfd88f77b49b1c93e0fa7110f94c63' + commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63' + owner_id: 9919 + repo_id: 259445878 'hyperpolymath/smtp-notify-action@v0.2.0': ref: 'v0.2.0' commit: 'sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 7ecfa09..046f3f3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,7 +57,7 @@ jobs: # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # Add any setup steps before running the `github/codeql-action/init` action. # This includes steps like installing compilers or runtimes (`actions/setup-node` @@ -66,8 +66,11 @@ jobs: # uses: actions/setup-example@v1 # Initializes the CodeQL tools for scanning. + # Full-SHA pins: this repository requires them, and a tag reference + # ends every run in startup_failure. v4.38.0 is the estate's pin + # (hyperpolymath/standards); 4.38.1 is held back estate-wide. - name: Initialize CodeQL - uses: github/codeql-action/init@v4 + uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0 with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} @@ -96,6 +99,6 @@ jobs: exit 1 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 + uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 3fc9e74..81aa2e4 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -14,7 +14,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +# The reusable workflow's job requests actions: read (Scorecard's Packaging +# check lists workflow runs). A called job may not ask for more than its +# caller grants, so without it every run ends in startup_failure, no jobs. permissions: + actions: read contents: read security-events: write id-token: write @@ -24,6 +28,7 @@ jobs: name: OSSF Scorecard Check uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@main permissions: + actions: read contents: read security-events: write id-token: write