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
10 changes: 6 additions & 4 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# is a promise the registry can break, and each of these containers gets the
# whole repository, one of them with a token.

# The github context belongs to the caller, including in reusable workflows.
# Public repositories use GitHub-hosted runners; private callers keep Blacksmith.
name: Scan

on:
Expand All @@ -26,7 +28,7 @@ permissions:
jobs:
gitleaks:
name: Gitleaks
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: ${{ github.event.repository.private && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-24.04' }}
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -41,7 +43,7 @@ jobs:

trufflehog:
name: TruffleHog
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: ${{ github.event.repository.private && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-24.04' }}
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -56,7 +58,7 @@ jobs:

actionlint:
name: Actionlint
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: ${{ github.event.repository.private && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-24.04' }}
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -70,7 +72,7 @@ jobs:

zizmor:
name: Zizmor
runs-on: blacksmith-2vcpu-ubuntu-2404
runs-on: ${{ github.event.repository.private && 'blacksmith-2vcpu-ubuntu-2404' || 'ubuntu-24.04' }}
timeout-minutes: 5
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Fallback community-health files for repositories owned by uinaf.
Repository-local files take precedence when a project needs more specific
security, contribution, or pull-request guidance.

The shared scan uses GitHub-hosted runners for public callers and Blacksmith
for private callers. Runner selection follows the calling repository’s visibility.

## Verify

Run changed workflow checks locally with `mise run verify`. Before handoff, run
Expand Down