summaryrefslogtreecommitdiff
path: root/.github/workflows/submodules.yml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-12 18:07:00 +0100
committerGitHub <noreply@github.com>2021-02-12 18:07:00 +0100
commit292bce09193ba08d4f68f1b05af1fa742220daa8 (patch)
tree4bc8309eb3dd767f0b12ee598d3c51d0fcbcd115 /.github/workflows/submodules.yml
parent262e886fde9ced4a1211bfa99e7d675f98dbf3b9 (diff)
parent58860fe519604bbabf4665e836486f4d06806a3f (diff)
downloadvyos-documentation-292bce09193ba08d4f68f1b05af1fa742220daa8.tar.gz
vyos-documentation-292bce09193ba08d4f68f1b05af1fa742220daa8.zip
Merge pull request #450 from rebortg/master
Releasenotes: add weekly releasenote create script
Diffstat (limited to '.github/workflows/submodules.yml')
-rw-r--r--.github/workflows/submodules.yml22
1 files changed, 16 insertions, 6 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
index 82b8d4e4..a90d0c70 100644
--- a/.github/workflows/submodules.yml
+++ b/.github/workflows/submodules.yml
@@ -5,7 +5,7 @@ on:
# 06:00 UTC on Monday
- cron: '0 6 * * 1'
jobs:
- updateVyOS-1x_master:
+ update_master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -19,21 +19,26 @@ jobs:
git checkout current
git pull
git submodule status
+ - name: update releasenotes
+ run: |
+ pip3 install phabricator
+ python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b current equuleus
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
- commit-message: "vyos-1x: update current branch"
+ commit-message: "Github: update current branch"
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
- title: "vyos-1x: update current branch"
+ title: "Github: update current branch"
body: |
Autoupdate vyos-1x submodule
+ update releasenotes
branch: update-dependencies-master
delete-branch: true
- updateVyOS-1x_equuleus:
+ update_equuleus:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -48,15 +53,20 @@ jobs:
git checkout equuleus
git pull
git submodule status
+ - name: update releasenotes
+ run: |
+ pip3 install phabricator
+ python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b equuleus
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
- commit-message: "vyos-1x: update equuleus branch"
+ commit-message: "Github: update equuleus branch"
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
- title: "vyos-1x: update equuleus branch"
+ title: "Github: update equuleus branch"
body: |
Autoupdate vyos-1x submodule
+ update releasenotes
branch: update-dependencies-equuleus
delete-branch: true