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"
|
name: "CodeQL Security Scan"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
# only run when there are pushes to the main branch (not on PRs)
|
# 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:
|
jobs:
|
||||||
run:
|
run:
|
||||||
# Runner definition: workflows/.github/runs-on.yml
|
|
||||||
uses: anchore/workflows/.github/workflows/dependabot-automation.yaml@main
|
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:
|
jobs:
|
||||||
run:
|
run:
|
||||||
# Runner definition: workflows/.github/runs-on.yml
|
|
||||||
uses: "anchore/workflows/.github/workflows/oss-project-board-add.yaml@main"
|
uses: "anchore/workflows/.github/workflows/oss-project-board-add.yaml@main"
|
||||||
secrets:
|
secrets:
|
||||||
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
|
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:
|
release-install-script:
|
||||||
needs: [release]
|
needs: [release]
|
||||||
if: ${{ needs.release.result == 'success' }}
|
if: ${{ needs.release.result == 'success' }}
|
||||||
# Runner definition: workflows/.github/runs-on.yml
|
|
||||||
uses: "anchore/workflows/.github/workflows/release-install-script.yaml@main"
|
uses: "anchore/workflows/.github/workflows/release-install-script.yaml@main"
|
||||||
with:
|
with:
|
||||||
tag: ${{ github.event.inputs.version }}
|
tag: ${{ github.event.inputs.version }}
|
||||||
|
|||||||
@ -10,7 +10,6 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
# Runner definition: workflows/.github/runs-on.yml
|
|
||||||
uses: "anchore/workflows/.github/workflows/remove-awaiting-response-label.yaml@main"
|
uses: "anchore/workflows/.github/workflows/remove-awaiting-response-label.yaml@main"
|
||||||
secrets:
|
secrets:
|
||||||
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
|
token: ${{ secrets.OSS_PROJECT_GH_TOKEN }}
|
||||||
|
|||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
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: 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
|
if: github.repository == 'anchore/syft' # only run for main repo
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
name: "Validate GitHub Actions"
|
name: "Validate GitHub Actions"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user