blob: 4387d7feda1e1abeeb54c3b9dc930c7a0d4eb81e (
plain)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
name: Update submodule vyos-1x
on:
workflow_dispatch:
schedule:
# 06:00 UTC on Monday
- cron: '0 6 * * 1'
jobs:
update_master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
- name: update submodule
run: |
git submodule status
git submodule update --init --force
cd docs/_include/vyos-1x
git checkout sagitta
git pull
git submodule status
- name: update releasenotes
env:
PHABRICATOR_API: ${{ secrets.PHABRICATOR_API }}
if: env.PHABRICATOR_API != null
run: |
pip3 install phabricator==0.8.0
python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b circinus sagitta equuleus
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PR_ACTION_DOCUMENTATION_SUBMODULE_UPDATE }}
commit-message: "Github: update current branch"
title: "Github: update current branch"
body: |
Autoupdate vyos-1x submodule
update releasenotes
branch: update-dependencies-master
delete-branch: true
update_sagitta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: sagitta
- name: update submodule
run: |
git submodule status
git submodule update --init --force
cd docs/_include/vyos-1x
git checkout sagitta
git pull
git submodule status
- name: update releasenotes
env:
PHABRICATOR_API: ${{ secrets.PHABRICATOR_API }}
if: env.PHABRICATOR_API != null
run: |
pip3 install phabricator==0.8.0
python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b sagitta equuleus
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PR_ACTION_DOCUMENTATION_SUBMODULE_UPDATE }}
commit-message: "Github: update sagitta branch"
title: "Github: update sagitta branch"
body: |
Autoupdate vyos-1x submodule
update releasenotes
branch: update-dependencies-sagitta
delete-branch: true
update_equuleus:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: ${{ github.repository }}
ref: equuleus
- name: update submodule
run: |
git submodule status
git submodule update --init --force
cd docs/_include/vyos-1x
git checkout equuleus
git pull
git submodule status
- name: update releasenotes
env:
PHABRICATOR_API: ${{ secrets.PHABRICATOR_API }}
if: env.PHABRICATOR_API != null
run: |
pip3 install phabricator==0.8.0
python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b equuleus
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PR_ACTION_DOCUMENTATION_SUBMODULE_UPDATE }}
commit-message: "Github: update equuleus branch"
title: "Github: update equuleus branch"
body: |
Autoupdate vyos-1x submodule
update releasenotes
branch: update-dependencies-equuleus
delete-branch: true
|