-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (28 loc) · 930 Bytes
/
esr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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:
inputs:
esr-version:
required: false
type: string
description: ESR version override, for example 2022.10. By default it uses the current year and month.
os-version:
required: false
type: string
description: OS ESR version override, for example 2.104. By default it uses the latest ESR branch.
jobs:
esr:
runs-on: ubuntu-latest
steps:
- 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