Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,20 @@ a future release to provide customization of these templates, via an ability to
## Examples

```
name: Generate Security Report
uses: peter-murray/github-security-report-action@v2
with:
token: ${{ secrets.SECURITY_TOKEN }}
- name: Generate Security Report
uses: peter-murray/github-security-report-action@v2
with:
token: ${{ secrets.SECURITY_TOKEN }}
```

To upload the report as an artifact, use the `actions/upload-artifact` Action:

```
- name: Upload security report
uses: actions/upload-artifact@v2
with:
name: SecuritySummaryReport
path: ${{ github.workspace }}/summary.pdf
```

Example summary report output:
Expand Down