concurrency group for scheduled runs

This commit is contained in:
Jack Forgash 2024-12-18 13:36:31 -05:00
parent 27d55a7683
commit 5fa45fb400
2 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,8 @@ run-name: dbt_run_scheduled_core
on:
workflow_dispatch:
schedule:
# Runs "every 55 mins" (see https://crontab.guru)
- cron: "55 * * * *"
# Runs hourly (see https://crontab.guru)
- cron: "0 * * * *"
env:
USE_VARS: "${{ vars.USE_VARS }}"
@ -21,7 +21,7 @@ env:
SCHEMA: "${{ vars.SCHEMA }}"
concurrency:
group: ${{ github.workflow }}
group: dbt_scheduled
jobs:
dbt:

View File

@ -4,8 +4,8 @@ run-name: dbt_run_scheduled_non_core
on:
workflow_dispatch:
schedule:
# Runs "At minute 15" (see https://crontab.guru)
- cron: "15 * * * *"
# Runs "At minute 55" (see https://crontab.guru)
- cron: "55 * * * *"
env:
USE_VARS: "${{ vars.USE_VARS }}"
@ -21,7 +21,7 @@ env:
SCHEMA: "${{ vars.SCHEMA }}"
concurrency:
group: ${{ github.workflow }}
group: dbt_scheduled
jobs:
dbt: