Skip to content

Upload SARIF to GitHub Code Scanning#214

Draft
TheEadie wants to merge 2 commits intomainfrom
upload-sarif-to-ghas
Draft

Upload SARIF to GitHub Code Scanning#214
TheEadie wants to merge 2 commits intomainfrom
upload-sarif-to-ghas

Conversation

@TheEadie
Copy link
Copy Markdown
Contributor

Summary

  • Extracts SARIF report path from Flyway CLI 12.2+ JSON output alongside existing HTML report
  • Uploads SARIF to GitHub Code Scanning via github/codeql-action/upload-sarif@v3 in both migrations/checks and state/prepare actions
  • Uses continue-on-error: true so repos without GHAS don't fail
  • Only uploads when the SARIF file path is present (backward compatible with older Flyway versions)
  • Adds skip-code-scanning-upload input for opt-out

Requires security-events: write permission in consuming workflows.

🤖 Generated with Claude Code

TheEadie and others added 2 commits March 26, 2026 14:52
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant