From 58860fe519604bbabf4665e836486f4d06806a3f Mon Sep 17 00:00:00 2001 From: rebortg Date: Wed, 10 Feb 2021 20:45:48 +0100 Subject: Releasenotes: add weekly releasenote create script --- .github/workflows/submodules.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to '.github/workflows/submodules.yml') 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 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 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 -- cgit v1.2.3