fix: snapshot only on default branch

This commit is contained in:
Lucas Fernando Cardoso Nunes
2025-03-01 11:03:29 -03:00
committed by Eric Radman
parent 231fd36d46
commit ae89da31ca

View File

@@ -2,7 +2,8 @@ name: Periodic Snapshot
on:
schedule:
- cron: '10 0 1 * *' # 10 minutes after midnight on the first of every month
- cron: '10 0 1 * *' # 10 minutes after midnight on the first day of every month
workflow_dispatch:
inputs:
bump:
@@ -24,6 +25,7 @@ permissions:
jobs:
bump-version-and-tag:
runs-on: ubuntu-latest
if: github.ref_name == github.event.repository.default_branch
steps:
- uses: actions/checkout@v4
with: