From 31826d772655d9d308202445b0ca19ad752a48b8 Mon Sep 17 00:00:00 2001 From: rebortg Date: Mon, 15 Feb 2021 20:18:03 +0100 Subject: Github: prevent to run update releasenotes without the apikey --- .github/workflows/submodules.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github') 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 -- cgit v1.2.3