Commit a401fab
authored
ci: restore CodeQL workflow with pull_request trigger (#7058)
## Summary
- Restores `.github/workflows/codeql.yml` (removed in #5865) with the
fix that it now runs on `pull_request` as well as `push` — closing the
original concern from #5864.
- Uses `go build ./...` instead of `make build` so the scan does not
compile the multiplexer or embed legacy v3-v8 binaries.
## Why
GitHub Code Scanning currently shows a CodeQL configuration error on
this repo. The last analysis on `main` (2025-09-30) is an empty
`default-setup` artifact (`rules_count: 0`, `tool_version: null`) left
over after #5865 removed the workflow. Restoring a real workflow
produces a valid analysis that supersedes the stale one. The stale
record itself will be cleaned up via the Code Scanning API as a
follow-up step after this PR merges.
## Test plan
- [ ] CodeQL job runs to completion on this PR
- [ ] Once merged, CodeQL runs on the merge commit to `main`
- [ ] The Code Scanning page at
https://github.com/celestiaorg/celestia-app/security/code-scanning no
longer shows a configuration error for CodeQL
Closes #5864
Closes PROTOCO-14891 parent fea99c6 commit a401fab
1 file changed
Lines changed: 60 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments