Skip to content

Commit

Permalink
flowzone: add weekly dummy run to keep workflow enabled
Browse files Browse the repository at this point in the history
Changelog-entry: Add weekly keep alive for flowzone ESR workflow
Signed-off-by: Alex Gonzalez <[email protected]>
  • Loading branch information
alexgg committed Oct 2, 2023
1 parent 73fe3a3 commit 7b2c2ca
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/esr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: ESR

on:
# Run at 00:00 on the second day every 3rd month (quarterly)
# Run weekly too to keep the workflow enabled
schedule:
- cron: "0 0 2 */3 *"
- cron: "6 0 * * 1"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -19,6 +21,10 @@ on:

jobs:
esr:
name: Create ESR branch and tag
uses: balena-os/github-workflows/.github/workflows/esr.yml@master
secrets: inherit
- name: Exit on weekly runs
if: github.event.schedule != '0 0 2 */3 *'
run: exit 1

- name: Create ESR branch and tag
uses: balena-os/github-workflows/.github/workflows/esr.yml@master
secrets: inherit

0 comments on commit 7b2c2ca

Please sign in to comment.