Skip to content

chore: test workflow #1

chore: test workflow

chore: test workflow #1

name: Test Secrets If

Check failure on line 1 in .github/workflows/test-secrets-if.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-secrets-if.yml

Invalid workflow file

(Line: 9, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.APP_ID != ''
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check Secret
if: ${{ secrets.APP_ID != '' }}
run: echo "Secret is not empty"
- name: Check Secret 2
if: secrets.APP_ID != ''
run: echo "Secret is not empty 2"