Add group function to organize code scanning alerts retrieval #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- run: echo '${{ toJson(steps.export.outputs.dependabot) }}' > dependabot.json | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: dependabot | |
path: dependabot.json | |
- run: echo '${{ toJson(steps.export.outputs.code-scanning) }}' > code-scanning.json | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: code-scanning | |
path: code-scanning.json | |
- run: echo '${{ toJson(steps.export.outputs.secret-scanning) }}' > secret-scanning.json | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: secret-scanning | |
path: secret-scanning.json |