Commit cca7f0b
committed
fix(auto-merge): replace drifted hardcoded check names with configurable wait_checks input
The hardcoded matrix waited for `tfsec / tfsec sarif report`, but the
shared `security-tfsec.yml` now produces `tfsec / 🧪 tfsec SARIF Report`
(emoji + title case). The wait-on-check step therefore never matched,
causing every dependabot auto-merge attempt to stall and skip both
autoapprove and automerge jobs.
Replace the hardcoded matrix with a `wait_checks` JSON-array input so
callers can supply the exact check-run names their repo produces. The
default covers the org-wide tflint + tfsec reports with the current
(correct) names. `tfcheck` is retained as a no-op input for backward
compatibility; callers should migrate to `wait_checks`.1 parent f1ee54f commit cca7f0b
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | | - | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments