Commit 7ff9480
authored
ci: fix lint failures blocking main (#2496)
Main is red on the Lint Code Base job for two deterministic reasons.
## clang-format
`frankenphp.c:141` — the empty `while` body must sit on its own line.
## zizmor `github-app`
zizmor 1.26 added the `github-app` audit, which flags
`actions/create-github-app-token` invocations that inherit blanket
installation permissions. Scoped the release app token
(`dunglas-release`) to what it actually uses:
- `contents: write` — commits, tags, refs, GitHub releases
- `actions: write` — `gh workflow run` dispatch of downstream builds
(static/docker/windows)
Both verified locally: `zizmor` reports no findings, `clang-format
--dry-run --Werror` is clean.1 parent d0c8ca2 commit 7ff9480
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments