diff options
author | rebortg <github@ghlr.de> | 2021-02-10 20:45:48 +0100 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2021-02-10 21:33:18 +0100 |
commit | 58860fe519604bbabf4665e836486f4d06806a3f (patch) | |
tree | 5dfbe6ddfb5c2ce6e19cc86964cf1803f81ce80c /.github | |
parent | fd387540352fb47eec7479a6747e764a558ba1ba (diff) | |
download | vyos-documentation-58860fe519604bbabf4665e836486f4d06806a3f.tar.gz vyos-documentation-58860fe519604bbabf4665e836486f4d06806a3f.zip |
Releasenotes: add weekly releasenote create script
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/submodules.yml | 22 |
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 |