diff --git a/.github/workflows/node-badge.yml b/.github/workflows/node-badge.yml index 6d1b868..52bcc6b 100644 --- a/.github/workflows/node-badge.yml +++ b/.github/workflows/node-badge.yml @@ -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: