Skip to content

Commit

Permalink
Add context dump and fix variable reference in Write JSON to file
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Jan 31, 2024
1 parent 2573410 commit 12fa850
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
with:
github-token: ${{ secrets.PAT }}
repository: octodemo/vulnerable-node
- name: Dump Context
run: |
echo "${{ github }}"
- 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
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

0 comments on commit 12fa850

Please sign in to comment.