Commit a714601
committed
refactor: Refine cancellation event reason
• Changed event reason from RepositoryPipelineRun to CancelInProgress
for pipeline run cancellation messages.
• Updated end-to-end tests to ignore events with the CancelInProgress reason.
• This provided clearer event reporting specific to cancellation actions.
• This prevented tests from spuriously failing due to expected
cancellation events
Signed-off-by: Chmouel Boudjnah <[email protected]>1 parent 7b503a4 commit a714601
File tree
2 files changed
+26
-5
lines changed- pkg/pipelineascode
- test/pkg/gitea
2 files changed
+26
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
| |||
249 | 270 | | |
250 | 271 | | |
251 | 272 | | |
252 | | - | |
| 273 | + | |
253 | 274 | | |
254 | 275 | | |
255 | 276 | | |
| |||
369 | 390 | | |
370 | 391 | | |
371 | 392 | | |
372 | | - | |
| 393 | + | |
373 | 394 | | |
374 | 395 | | |
375 | 396 | | |
| |||
0 commit comments