update repo path

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman 2025-11-17 11:38:00 -05:00
parent 2b9700f1ee
commit 2e8734cd12
10 changed files with 16 additions and 16 deletions

View File

@ -21,7 +21,7 @@ permissions:
jobs: jobs:
analyze: analyze:
name: Analyze name: Analyze
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
if: github.repository == 'anchore/syft' # only run for main repo if: github.repository == 'anchore/syft' # only run for main repo
permissions: permissions:

View File

@ -27,7 +27,7 @@ env:
jobs: jobs:
label: label:
name: "Label changes" name: "Label changes"
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
permissions: permissions:
contents: read contents: read

View File

@ -13,7 +13,7 @@ on:
jobs: jobs:
quality-gate: quality-gate:
environment: release environment: release
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=tiny runs-on: runs-on=${{ github.run_id }}/runner=tiny
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
@ -120,7 +120,7 @@ jobs:
release: release:
needs: [quality-gate] needs: [quality-gate]
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=release runs-on: runs-on=${{ github.run_id }}/runner=release
permissions: permissions:
contents: write contents: write

View File

@ -14,7 +14,7 @@ jobs:
Publish: Publish:
name: "Publish test fixture image cache" name: "Publish test fixture image cache"
# we use this runner to get enough storage space for docker images and fixture cache # we use this runner to get enough storage space for docker images and fixture cache
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=build/disk=large runs-on: runs-on=${{ github.run_id }}/runner=build/disk=large
if: github.repository == 'anchore/syft' # only run for main repo if: github.repository == 'anchore/syft' # only run for main repo
permissions: permissions:

View File

@ -12,7 +12,7 @@ permissions:
jobs: jobs:
update: update:
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
if: github.repository_owner == 'anchore' # only run for main repo (not forks) if: github.repository_owner == 'anchore' # only run for main repo (not forks)
steps: steps:

View File

@ -10,7 +10,7 @@ permissions:
jobs: jobs:
update-bootstrap-tools: update-bootstrap-tools:
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small runs-on: runs-on=${{ github.run_id }}/runner=small
if: github.repository == 'anchore/syft' # only run for main repo if: github.repository == 'anchore/syft' # only run for main repo
steps: steps:

View File

@ -13,7 +13,7 @@ env:
jobs: jobs:
upgrade-cpe-dictionary-index: upgrade-cpe-dictionary-index:
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
permissions: permissions:
contents: read contents: read

View File

@ -13,7 +13,7 @@ env:
jobs: jobs:
upgrade-spdx-license-list: upgrade-spdx-license-list:
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
if: github.repository == 'anchore/syft' # only run for main repo if: github.repository == 'anchore/syft' # only run for main repo
steps: steps:

View File

@ -19,7 +19,7 @@ permissions:
jobs: jobs:
zizmor: zizmor:
name: "Lint" name: "Lint"
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small-arm runs-on: runs-on=${{ github.run_id }}/runner=small-arm
permissions: permissions:
contents: read contents: read

View File

@ -14,7 +14,7 @@ jobs:
Static-Analysis: Static-Analysis:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "Static analysis" name: "Static analysis"
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=small runs-on: runs-on=${{ github.run_id }}/runner=small
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
@ -31,7 +31,7 @@ jobs:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "Unit tests" name: "Unit tests"
# we need more storage than what's on the default runner # we need more storage than what's on the default runner
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=medium runs-on: runs-on=${{ github.run_id }}/runner=medium
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
@ -49,7 +49,7 @@ jobs:
Integration-Test: Integration-Test:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "Integration tests" name: "Integration tests"
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=medium runs-on: runs-on=${{ github.run_id }}/runner=medium
steps: steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
@ -69,7 +69,7 @@ jobs:
Build-Snapshot-Artifacts: Build-Snapshot-Artifacts:
name: "Build snapshot artifacts" name: "Build snapshot artifacts"
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=build runs-on: runs-on=${{ github.run_id }}/runner=build
steps: steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility) # required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
@ -101,7 +101,7 @@ jobs:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "Acceptance tests (Linux)" name: "Acceptance tests (Linux)"
needs: [Build-Snapshot-Artifacts] needs: [Build-Snapshot-Artifacts]
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=medium runs-on: runs-on=${{ github.run_id }}/runner=medium
steps: steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility) # required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)
@ -179,7 +179,7 @@ jobs:
# Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline # Note: changing this job name requires making the same update in the .github/workflows/release.yaml pipeline
name: "CLI tests (Linux)" name: "CLI tests (Linux)"
needs: [Build-Snapshot-Artifacts] needs: [Build-Snapshot-Artifacts]
# Runner definition: workflows/.github/runs-on.yml # Runner definition: repo(anchore/workflows)/.github/runs-on.yml
runs-on: runs-on=${{ github.run_id }}/runner=medium runs-on: runs-on=${{ github.run_id }}/runner=medium
steps: steps:
# required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility) # required for magic-cache from runs-on to function with artifact upload/download (see https://runs-on.com/caching/magic-cache/#actionsupload-artifact-compatibility)