mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
fix: snapshot only on default branch
This commit is contained in:
committed by
Eric Radman
parent
231fd36d46
commit
ae89da31ca
4
.github/workflows/periodic-snapshot.yml
vendored
4
.github/workflows/periodic-snapshot.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user