From 7f26abc2e8c361f23d27556f34db3f12e9a7b173 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 13 Mar 2020 11:03:46 +0000 Subject: [PATCH] :construction_worker_man: sync DINAR Pushed from https://github.com/itpp-labs/DINAR/.github/workflows/fork2repos.yml --- .github/workflows/DINAR.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/DINAR.yml b/.github/workflows/DINAR.yml index 089d610..094f142 100644 --- a/.github/workflows/DINAR.yml +++ b/.github/workflows/DINAR.yml @@ -24,8 +24,17 @@ on: - cron: "5 5 * * 0" jobs: + check-secret: + runs-on: ubuntu-latest + steps: + - name: Check that DINAR_TOKEN is set + run: | + test -z "${{ secrets.DINAR_TOKEN }}" && echo "DINAR_TOKEN is not set" && exit 1 + rebuild-images: runs-on: ubuntu-latest + needs: + - check-secret steps: - name: Checkout Repo uses: actions/checkout@v2