Skip to content

Fixup action

Fixup action #3

Workflow file for this run

name: test
on:
workflow_dispatch:
merge_group:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
branches: [dev]
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
jobs:

Check failure on line 13 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 13, Col: 13): Unexpected symbol: '$PRIVATE_KEY'. Located at position 1 within expression: $PRIVATE_KEY == ""
assert-private-key:
name: Check private key exists
runs-on: ubuntu-latest
steps:
- if: {{ env.PRIVATE_KEY == "" }}
uses: actions/github-script@v6
with:
script: |
core.setFailed('Failed to access PRIVATE_KEY secret')