Skip to content

Commit

Permalink
trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 26, 2024
1 parent c6d8e1f commit ea55882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:
type: string
outputs:
has-secrets:
value: ''
value: 'false'

jobs:
check-secrets:
check:
runs-on: ubuntu-latest
outputs:
has-secrets: ${{ steps.check.outputs.has-secrets }}
steps:
- id: check
run: |
if [[ -n "${{ secrets[inputs.secret_name] }}" ]]; then
echo "has-secrets=true" >> "$GITHUB_OUTPUT"
echo "has-secrets=true" >> $GITHUB_OUTPUT
echo "Secret for ${{ inputs.secret_name }} is available"
else
echo "Secret for ${{ inputs.secret_name }} is NOT available"
Expand Down

0 comments on commit ea55882

Please sign in to comment.