Skip to content

Add context dump and fix variable reference in Write JSON to file #36

Add context dump and fix variable reference in Write JSON to file

Add context dump and fix variable reference in Write JSON to file #36

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: Dump Context
run: |
echo "${{ github }}"
- name: Write JSON to file
run: |
echo '${{ steps.export.outputs.dependabot }}' > dependabot.json
echo '${{ steps.export.outputs.code-scanning }}' > code-scanning.json
echo '${{ steps.export.outputs.secret-scanning }}'> secret-scanning.json