ci: Only update the node badge on the main branch (#183)

This commit is contained in:
Tom 2024-01-19 18:43:02 +00:00 committed by GitHub
parent 32dd486632
commit f922270c60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,9 @@ on:
- "crates/lib/src/games/definitions.rs"
- ".github/workflows/node-badge.yml"
- ".github/workflows/scripts/node-badge.mjs"
schedule:
branches:
- "main" # Limit badge commits to only happen on the main branch
schedule: # This runs on the default branch only, it could still trigger on PRs but only if they develop on default branch and enable actions.
- cron: '34 3 * * 2' # Update once a week in case node-gamedig has changed
workflow_dispatch: