Added a check for the existens of a secret.
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 2m0s
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 2m0s
This commit is contained in:
parent
2c9b5581d8
commit
d759767bc3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user