-
Notifications
You must be signed in to change notification settings - Fork 8
63 lines (53 loc) · 2.06 KB
/
update-changes.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This workflow, when done, is supposed to update automatically
# generated content in these sections:
# - Changes and releases
# - CRDs (Management API)
# - Cluster Apps
# - CLI versions
# - Website header and footer
name: Update generated content
# Trigger by cronjob
on:
schedule:
# It runs at 7:00 every weekday
- cron: "0 7 * * MON-FRI"
workflow_dispatch: {} # Allow manual triggering
jobs:
update-generated-content:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Aggregate releases
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
run: make changes
- name: Update Cluster Apps pages
run: make update-cluster-app-reference
- name: Update CRD pages
run: make update-crd-reference
# Disabled in Dec 2024 as it's not working afte rthe website update. (Marian)
#- name: Update website header and footer
# run: make update-website-content
- name: Create or update pull request
uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b # v1.10.1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
title: "Semi-automatic update of generated content"
branch: "automatic-update-of-generated-content"
commit-message: "Update self-generated content"
assignees: taylorbot
reviewers: pipo02mix
body: |
This PR has been created automatically by the 'Update generated content' Github workflow
to keep
- Changes and releases
- CLI versions
- Cluster Apps
- CRD pages
- Website header and footer
up-to-date.
This PR is opened or updated every weekday morning. On Fridays, it is merged by 'merge-autogenerated-content' workflow. In case of being triggered manually you need to merge it manually too in order to have the content published.