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
4 changes: 2 additions & 2 deletions .github/workflows/reusable-ci-astro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
i18n:
name: i18n parity
if: inputs.enable-i18n
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
name: Lighthouse CI
needs: build
if: inputs.enable-lighthouse && (github.event_name == 'pull_request' || !inputs.lighthouse-only-pr)
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ci-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
quality:
name: Quality (knip, madge, audit)
if: inputs.enable-knip || inputs.enable-madge || inputs.enable-audit
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
defaults:
run:
working-directory: ${{ inputs.working-directory }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ permissions:
jobs:
hadolint:
name: hadolint
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
- uses: hadolint/hadolint-action@v3.1.0
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
name: Trivy (CVE scan)
needs: build
if: inputs.push
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: aquasecurity/trivy-action@0.35.0
with:
Expand All @@ -127,7 +127,7 @@ jobs:
name: cosign (sign + attest)
needs: [build, trivy]
if: inputs.push
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: sigstore/cosign-installer@v3
- name: Login to GHCR
Expand All @@ -153,7 +153,7 @@ jobs:
name: SBOM (Syft → CycloneDX)
needs: build
if: inputs.push
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: anchore/sbom-action@v0
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/reusable-release-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ on:
type: string
required: false
default: ''
runner:
description: 'GitHub Actions runner label for the upload + publish jobs. Defaults to `ubuntu-latest` so public-repo consumers run on free GitHub-hosted runners.'
type: string
required: false
default: 'ubuntu-latest'
secrets:
CARGO_REGISTRY_TOKEN:
required: false
Expand Down Expand Up @@ -104,7 +109,7 @@ jobs:
upload:
name: Attest + upload assets
needs: build
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
Expand All @@ -128,7 +133,7 @@ jobs:
name: Publish crates.io
needs: upload
if: inputs.crate-publish
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/reusable-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ on:
type: boolean
required: false
default: false
runner:
description: 'GitHub Actions runner label. Defaults to `ubuntu-latest` so public-repo consumers run on free GitHub-hosted runners. Private consumers can override with `ferrlabs-k8s` for the heavier self-hosted pool.'
type: string
required: false
default: 'ubuntu-latest'

permissions:
contents: read
Expand All @@ -31,7 +36,7 @@ permissions:
jobs:
gitleaks:
name: gitleaks (secrets)
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
with:
Expand Down Expand Up @@ -72,7 +77,7 @@ jobs:

osv-scanner:
name: osv-scanner (CVE)
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
steps:
- uses: actions/checkout@v6
- name: Detect Go module
Expand Down Expand Up @@ -122,7 +127,7 @@ jobs:

trufflehog:
name: trufflehog (secrets, deep history)
runs-on: ferrlabs-k8s
runs-on: ${{ inputs.runner }}
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v6
Expand Down
Loading