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
2 changes: 2 additions & 0 deletions .github/workflows/daily-data-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
# run 1 AM (UTC) daily
schedule:
- cron: '0 1 * * *'

env:
CGO_ENABLED: "0"
SLACK_NOTIFICATIONS: true
Expand All @@ -14,6 +15,7 @@ jobs:
discover-providers:
name: "Discover vulnerability providers"
runs-on: ubuntu-24.04
if: github.repository == 'anchore/grype-db' # only run for main repo
permissions:
contents: read
packages: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily-db-publisher-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# note about workflow dispatch inputs and booleans:
# a) booleans come across as string types :(
# b) if not using workflow_dispatch the default values are empty, which means we want these to effectively evaluate to true (so only check the negative case)
if: ${{ github.event.inputs.publish-databases != 'false' }}
if: ${{ github.event.inputs.publish-databases != 'false' && github.repository == 'anchore/grype-db' }} # only run for main repo
name: "Pull vulnerability data"
runs-on: ubuntu-24.04
outputs:
Expand Down
Loading