Skip to content

Fix JSON formatting in workflow file #35

Fix JSON formatting in workflow file

Fix JSON formatting in workflow file #35

Workflow file for this run

name: Usage
on:
push:
pull_request:
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
id: export
with:
github-token: ${{ secrets.PAT }}
repository: octodemo/vulnerable-node
- name: Write JSON to file
run: |
echo '${{ fromJson(steps.export.outputs.dependabot) }}' > dependabot.json
echo '${{ fromJson(steps.export.outputs.code-scanning) }}' > code-scanning.json
echo '${{ fromJson(steps.export.outputs.secret-scanning) }}'> secret-scanning.json