mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
improve workflow dispatch calls
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
parent
ee39d2ca75
commit
1b386e2711
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
@ -6,6 +6,7 @@
|
||||
name: "CodeQL Security Scan"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
# only run when there are pushes to the main branch (not on PRs)
|
||||
|
||||
1
.github/workflows/dependabot-automation.yaml
vendored
1
.github/workflows/dependabot-automation.yaml
vendored
@ -7,5 +7,4 @@ permissions:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
# Runner definition: workflows/.github/runs-on.yml
|
||||
uses: anchore/workflows/.github/workflows/dependabot-automation.yaml@main
|
||||
|
||||
1
.github/workflows/oss-project-board-add.yaml
vendored
1
.github/workflows/oss-project-board-add.yaml
vendored
@ -13,7 +13,6 @@ on:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
# Runner definition: workflows/.github/runs-on.yml
|
||||
uses: "anchore/workflows/.github/workflows/oss-project-board-add.yaml@main"
|
||||
secrets:
|
||||
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
|
||||
|
||||
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@ -192,7 +192,6 @@ jobs:
|
||||
release-install-script:
|
||||
needs: [release]
|
||||
if: ${{ needs.release.result == 'success' }}
|
||||
# Runner definition: workflows/.github/runs-on.yml
|
||||
uses: "anchore/workflows/.github/workflows/release-install-script.yaml@main"
|
||||
with:
|
||||
tag: ${{ github.event.inputs.version }}
|
||||
|
||||
@ -10,7 +10,6 @@ jobs:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
# Runner definition: workflows/.github/runs-on.yml
|
||||
uses: "anchore/workflows/.github/workflows/remove-awaiting-response-label.yaml@main"
|
||||
secrets:
|
||||
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
|
||||
|
||||
@ -15,7 +15,7 @@ jobs:
|
||||
name: "Publish test fixture image cache"
|
||||
# we use this runner to get enough storage space for docker images and fixture cache
|
||||
# Runner definition: workflows/.github/runs-on.yml
|
||||
runs-on: runs-on=${{ github.run_id }}/runner=release
|
||||
runs-on: runs-on=${{ github.run_id }}/runner=build/disk=large
|
||||
if: github.repository == 'anchore/syft' # only run for main repo
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
name: "Validate GitHub Actions"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user