Skip to content

Added secret variable #4

Added secret variable

Added secret variable #4

Workflow file for this run

name: Snyk Setup
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: snyk/actions/setup@master
- uses: actions/setup-java@v4
with:
java-version: '21'
- name: Snyk monitor
run: snyk test
env:
SNYK_TOKEN: ${{ secrets.3d6983e2-99cc-4a8b-84b2-cd2ef36431b3 }}

Check failure on line 15 in .github/workflows/snyk_setup.yaml

View workflow run for this annotation

GitHub Actions / Snyk Setup

Invalid workflow file

The workflow is not valid. .github/workflows/snyk_setup.yaml (Line: 15, Col: 21): Unexpected symbol: '<uuid>'. Located at position 9 within expression: secrets.<uuid>