Added a check for the existens of a secret.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 2m0s

This commit is contained in:
Philipp Horstenkamp 2024-05-21 00:51:37 +02:00
parent 2c9b5581d8
commit d759767bc3
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -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