From d759767bc33c5453940011bd0ecd158f44ef6b98 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Tue, 21 May 2024 00:51:37 +0200 Subject: [PATCH] Added a check for the existens of a secret. --- .gitea/workflows/maintenance.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml index f88327d..a9c8387 100644 --- a/.gitea/workflows/maintenance.yaml +++ b/.gitea/workflows/maintenance.yaml @@ -14,11 +14,11 @@ jobs: SPECIFIC_BRANCH: chore/update-pre-commit steps: - run: echo "Actor ${{ github.actor }}" - - name: check is SSH_RUNNER exists + - name: check is REPO_TOKEN_SERVER exists env: - SSH_RUNNER: ${{ secrets.SSH_RUNNER }} - if: ${{ env.SSH_RUNNER == '' }} - run: echo the secret "SSH_RUNNER" has not been made; echo please go to + REPO_TOKEN_SERVER: ${{ secrets.REPO_TOKEN_SERVER }} + if: ${{ env.REPO_TOKEN_SERVER == '' }} + run: echo the secret "REPO_TOKEN_SERVER" has not been made; echo please go to - uses: actions/checkout@v4 with: ref: main