Skip to content

Commit

Permalink
ci: Check for secrets before run
Browse files Browse the repository at this point in the history
  • Loading branch information
IagoLast authored Apr 19, 2024
1 parent 63afb5c commit b7a2013
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ jobs:
steps:
- name: Check if secret is available
run: |
if [[ -z "${{ secrets.BOT_PAT }}" ]]; then echo "Secret is not set or is empty" else echo "Secret is set" fi
if [[ -z "${{ secrets.BOT_PAT }}" ]]; then
echo "Secret is not set or is empty"
else
echo "Secret is set"
fi
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit b7a2013

Please sign in to comment.