Move action.yml to repo root for GitHub Actions discovery #2
This file contains hidden or 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
| # Example workflow: Run VulnHawk on every pull request | |
| name: VulnHawk Security Scan | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| security-events: write # Required for SARIF upload | |
| jobs: | |
| security-scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run VulnHawk | |
| uses: momenbasel/vulnhawk@main | |
| with: | |
| target: '.' | |
| backend: 'claude' | |
| mode: 'full' | |
| severity: 'medium' | |
| api-key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| fail-on-findings: 'true' |