Commit 554f800
committed
ci: add gated diag to clang-tidy-bazel-post for reviewdog PR detection
Reviewdog v0.21.0 emits "this is not PullRequest build" and posts nothing
on fork-PR runs, even though the synthesized pull_request payload parses
fine in a local reproduction. Suspect step-level `env:` cannot override
runner-protected GITHUB_EVENT_PATH / GITHUB_EVENT_NAME under `workflow_run`,
so reviewdog reads the workflow_run event instead of the synth file.
Add a step (gated on `runner.debug == '1'`) that dumps the env reviewdog
will see and the effective GITHUB_EVENT_PATH content, plus `-log-level=debug`
on the reviewdog invocation under the same gate. Off the debug re-run path
the workflow behaves exactly as before.
Signed-off-by: Joao Luis Sombrio <sombrio@sombrasoft.dev>1 parent 44c886d commit 554f800
1 file changed
Lines changed: 41 additions & 0 deletions
Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
128 | 162 | | |
129 | 163 | | |
130 | 164 | | |
| |||
133 | 167 | | |
134 | 168 | | |
135 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
136 | 176 | | |
| 177 | + | |
137 | 178 | | |
138 | 179 | | |
139 | 180 | | |
| |||
0 commit comments