summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-02-15 20:18:03 +0100
committerrebortg <github@ghlr.de>2021-02-15 20:28:08 +0100
commit31826d772655d9d308202445b0ca19ad752a48b8 (patch)
tree98cd5dc334d42b86154a5d6780c98508acf268a0 /.github/workflows
parent700c7b2795bab6a4a967aa89c39f796b0f615440 (diff)
downloadvyos-documentation-31826d772655d9d308202445b0ca19ad752a48b8.tar.gz
vyos-documentation-31826d772655d9d308202445b0ca19ad752a48b8.zip
Github: prevent to run update releasenotes without the apikey
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/submodules.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
index a90d0c70..82724f03 100644
--- a/.github/workflows/submodules.yml
+++ b/.github/workflows/submodules.yml
@@ -20,6 +20,9 @@ jobs:
git pull
git submodule status
- name: update releasenotes
+ env:
+ PHABRICATOR_API: ${{ secrets.PHABRICATOR_API }}
+ if: env.PHABRICATOR_API != null
run: |
pip3 install phabricator
python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b current equuleus
@@ -54,6 +57,9 @@ jobs:
git pull
git submodule status
- name: update releasenotes
+ env:
+ PHABRICATOR_API: ${{ secrets.PHABRICATOR_API }}
+ if: env.PHABRICATOR_API != null
run: |
pip3 install phabricator
python3 docs/_ext/releasenotes.py -t ${{ secrets.PHABRICATOR_API }} -b equuleus