Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci-health-sweep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
# Egress allowlist (RE001): this job talks only to the GitHub API.
- name: Harden runner
uses: step-security/harden-runner@v2.22.2
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- uses: actions/checkout@v7.0.1
- name: Run CI-health sweep
env:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@
pull-requests: write # needed to approve

steps:
# Egress allowlist (RE001): this job talks only to the GitHub API.
- name: Harden runner
uses: step-security/harden-runner@v2.22.2
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Fetch Dependabot metadata
id: meta
uses: dependabot/fetch-metadata@v3.1.0
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/label-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
# Egress allowlist (RE001): this job talks only to the GitHub API.
- name: Harden runner
uses: step-security/harden-runner@v2.22.2

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Regenerate the actions lockfile for harden-runner

At this commit, .github/workflows/actions.lock is byte-for-byte unchanged and contains no step-security/harden-runner@v2.22.2 dependency; consequently, all five onboarded workflow entries omit the newly added action and will be rejected at job setup instead of running. The official gh actions-lock documentation explicitly requires rerunning the command whenever an existing workflow adds a uses dependency, so regenerate and commit the lockfile alongside these workflow changes.

Useful? React with 👍 / 👎.

with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Classify and label
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
# Egress allowlist (RE001): this job talks only to the GitHub API.
- name: Harden runner
uses: step-security/harden-runner@v2.22.2
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Apply canonical labels
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/roadmap-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
EXCLUDE: 'idaptik burble rattlescript vcl-ut'
WINDOW_MIN: ${{ inputs.window_min || '45' }} # look-back window (> cron interval for overlap)
steps:
# Egress allowlist (RE001): this job talks only to the GitHub API.
- name: Harden runner
uses: step-security/harden-runner@v2.22.2
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
- name: Mint App installation token
id: app
uses: actions/create-github-app-token@v3.3.0
Expand Down
Loading