Skip to content

Try to Log Secret

Try to Log Secret #1

Workflow file for this run

name: Try to Log Secret
on:
workflow_dispatch:
jobs:
logs:
runs-on: ubuntu_latest
steps:
- name: Log the Secret
run: echo ${{ secret.MY_PW }}

Check failure on line 12 in .github/workflows/try_log_test.yml

View workflow run for this annotation

GitHub Actions / Try to Log Secret

Invalid workflow file

The workflow is not valid. .github/workflows/try_log_test.yml (Line: 12, Col: 14): Unrecognized named-value: 'secret'. Located at position 1 within expression: secret.MY_PW