-
Notifications
You must be signed in to change notification settings - Fork 62
45 lines (38 loc) · 1.41 KB
/
update-helm-major-versions.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Updatecli major dependency updates
on:
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
- cron: 0 15 1 * * # The first of each month at 10am EST
permissions: {}
jobs:
updatecli:
runs-on: ubuntu-latest
permissions:
# required to write to the repo
contents: write
steps:
- name: checkout
uses: actions/checkout@v4
- name: configure git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: install updatecli in the runner
uses: updatecli/updatecli-action@v2
- name: run updatecli in diff mode
run: |
updatecli diff --config .github/updatecli/manifest-major.yaml
env:
GITHUB_TOKEN: ${{ github.token }}