Skip to content

Commit

Permalink
ci: add synacktiv/action-octoscan
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Oct 28, 2024
1 parent 442ebc4 commit e7361a7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/octoscan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Octoscan

on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/*'
push:
paths:
- '.github/workflows/*'

permissions:
security-events: write
actions: read
contents: read

jobs:
octoscan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1

- id: octoscan
name: Run octoscan
uses: synacktiv/action-octoscan@6b1cf2343893dfb9e5f75652388bd2dc83f456b0 # v1.0.0

- name: Upload SARIF file to GitHub
uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13
with:
sarif_file: "${{ steps.octoscan.outputs.sarif_output }}"
category: octoscan

0 comments on commit e7361a7

Please sign in to comment.