[SEC-6012] Enabling code scanning via Semgrep and triage via claude - #15
[SEC-6012] Enabling code scanning via Semgrep and triage via claude#15randall-wyatt wants to merge 2 commits into
Conversation
| concurrency: | ||
| group: codeql-${{ github.ref }} | ||
| cancel-in-progress: true |
There was a problem hiding this comment.
This repo is very infrequently modified so it's not a big issue, but github.ref is the unique name of the branch that triggered the CI workflow. For pull_request events that's what you want, but for push events you typically don't want later commits to the main branch to cancel jobs running on earlier commits. Take a look at the bazel-ci.yml workflow in the BE repo for an alternative.
There was a problem hiding this comment.
Instead of needing to duplicate this CI workflow in many repos, have you looked into reusable GitHub Actions workflows? You can define them once, in a specific repo, and then "call" them from workflows in other repos. Search for kube-e2e in the Iterable GitHub organization for examples.
Or, you could even define an Action that can be used in any of our repos, like our existing security-custom-action or launchpad-publish-image-action.
Either way, it would mean that you'd only need to make a tiny stub workflow in each repo that has minimal configuration.
| name: semgrep.sarif | ||
| path: semgrep.sarif | ||
|
|
||
| # triage_sarif_file: |
There was a problem hiding this comment.
Let's not check in dead code. Either remove these lines if they're not going to be used, or uncomment them.
SEC-6012
Description