From 2e8dc1ec5701191e8fadb226d397d689a374dd4b Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 13 Mar 2020 11:03:49 +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