summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2023-11-26 13:34:27 +0100
committerrebortg <github@ghlr.de>2023-11-26 13:34:27 +0100
commit4ca2e09a2a807f7224ab3f24b47981be2b175b8b (patch)
tree60822a7702c36851c204994f13ff694f2d56a30d /.github/workflows
parent9a7daff149440af2cd76c78b138fc0f4ffc3b8bf (diff)
downloadvyos-documentation-4ca2e09a2a807f7224ab3f24b47981be2b175b8b.tar.gz
vyos-documentation-4ca2e09a2a807f7224ab3f24b47981be2b175b8b.zip
add sagitta to github action for realeasnotes and submodules
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/submodules.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
index d2e3f99f..f76e32f7 100644
--- a/.github/workflows/submodules.yml
+++ b/.github/workflows/submodules.yml
@@ -41,6 +41,42 @@ jobs:
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
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v3
+ with:
+ token: ${{secrets.GITHUB_TOKEN}}
+ commit-message: "Github: update sagitta branch"
+ committer: GitHub <noreply@github.com>
+ author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
+ 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