Skip to content

Commit 78c225d

Browse files
committed
dev-inf: Fix YAML syntax error in GH action
Changed Stage 3 output format from using colon to dash to avoid YAML parsing error. The colon in 'STAGE3_RESULT: POTENTIAL_BUG_CONFIRMED' was causing YAML to interpret it as a mapping instead of a string. Changed to: 'STAGE3_RESULT - POTENTIAL_BUG_CONFIRMED' This syntax error was preventing the entire workflow from running. Epic: none Release note: none
1 parent 3c76919 commit 78c225d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pr-analyzer-threestage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ jobs:
174174
3. A suggested fix
175175
176176
**OUTPUT REQUIREMENT**: End your response with a single line containing only:
177-
- `STAGE3_RESULT: POTENTIAL_BUG_CONFIRMED` or
178-
- `STAGE3_RESULT: NO_BUG_FOUND`
177+
- `STAGE3_RESULT - POTENTIAL_BUG_CONFIRMED` or
178+
- `STAGE3_RESULT - NO_BUG_FOUND`
179179
180180
- name: Extract Stage 3 Result
181181
id: stage3_result
@@ -226,7 +226,7 @@ jobs:
226226
**If all three stages detected bugs**, this indicates a potential issue that warrants investigation.
227227
228228
- name: Comment on PR if bugs confirmed
229-
if: contains(steps.stage3_result.outputs.result, 'STAGE3_RESULT: POTENTIAL_BUG_CONFIRMED')
229+
if: contains(steps.stage3_result.outputs.result, 'STAGE3_RESULT - POTENTIAL_BUG_CONFIRMED')
230230
env:
231231
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
232232
run: |

0 commit comments

Comments
 (0)