summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-02-06 18:27:49 +0100
committerrebortg <github@ghlr.de>2021-02-06 18:38:15 +0100
commit14de62ec052855f03f37fc06817f9270a19ee9d0 (patch)
tree207a292e3a9e9758eea9a4b04b72352976c0f278 /.github/workflows
parent8839d72d174f13b53bbc1521d9935df6ae891514 (diff)
downloadvyos-documentation-14de62ec052855f03f37fc06817f9270a19ee9d0.tar.gz
vyos-documentation-14de62ec052855f03f37fc06817f9270a19ee9d0.zip
Github: adjust githubactions for sagitta and equuleus
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/submodules.yml38
1 files changed, 34 insertions, 4 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
index ccbb64a6..82b8d4e4 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:
- updatVyOS-1x:
+ updateVyOS-1x_master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -16,6 +16,35 @@ jobs:
git submodule status
git submodule update --init --force
cd docs/_include/vyos-1x
+ git checkout current
+ git pull
+ git submodule status
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v3
+ with:
+ token: ${{secrets.GITHUB_TOKEN}}
+ commit-message: "vyos-1x: update current branch"
+ committer: GitHub <noreply@github.com>
+ author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
+ title: "vyos-1x: update current branch"
+ body: |
+ Autoupdate vyos-1x submodule
+ branch: update-dependencies-master
+ delete-branch: true
+
+
+ updateVyOS-1x_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
@@ -23,10 +52,11 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
- commit-message: Update vyos-1x submodule
+ commit-message: "vyos-1x: update equuleus branch"
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
- title: Update vyos-1x submodule
+ title: "vyos-1x: update equuleus branch"
body: |
Autoupdate vyos-1x submodule
- branch: update-dependencies
+ branch: update-dependencies-equuleus
+ delete-branch: true