Commit e238411
ci(lint): add checks: write + fix path filter on actionlint workflow (#373)
Reworked from the original "create lint.yml" form (#373 v1) to a
modification of the existing lint.yml that #370 introduced.
Functional changes vs. main:
1. permissions: + `checks: write` — required for reviewdog's
`github-pr-check` reporter to publish inline annotations via the
Checks API. Without it, findings only show up in the run log, not
on the PR diff (silent degradation).
2. paths filter: `.github/actions/**` → `.github/actionlint.yaml`.
actionlint's default invocation does NOT lint composite actions
under `.github/actions/`, so the previous filter triggered the
workflow on changes that never affected lint output. The new
filter tracks the actionlint config (which DOES affect lint
results).
3. Documentation: caveats around `set -euo pipefail` × `$(... | jq ...)`
exit-propagation gaps, composite-action coverage, and per-setting
rationale.
Synced from `vuls-saas/vuls-reach` PR #9.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 850b31f commit e238411
1 file changed
Lines changed: 37 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
7 | 24 | | |
8 | 25 | | |
9 | 26 | | |
10 | 27 | | |
11 | 28 | | |
12 | | - | |
| 29 | + | |
13 | 30 | | |
14 | 31 | | |
15 | 32 | | |
16 | 33 | | |
17 | | - | |
| 34 | + | |
18 | 35 | | |
19 | 36 | | |
20 | 37 | | |
| |||
24 | 41 | | |
25 | 42 | | |
26 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
27 | 48 | | |
28 | 49 | | |
29 | 50 | | |
30 | 51 | | |
31 | 52 | | |
32 | 53 | | |
33 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 | | |
35 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
36 | 63 | | |
37 | 64 | | |
38 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
39 | 69 | | |
0 commit comments