Gate codex triage on successful PR tests

This commit is contained in:
Carlos Polop
2026-01-20 23:18:41 +01:00
parent e777c81eba
commit b24694f00b

View File

@@ -7,6 +7,7 @@ on:
jobs:
codex_triage:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: write
@@ -131,7 +132,7 @@ jobs:
merge_or_comment:
runs-on: ubuntu-latest
needs: codex_triage
if: ${{ needs.codex_triage.outputs.should_run == 'true' && needs.codex_triage.outputs.decision != '' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && needs.codex_triage.outputs.should_run == 'true' && needs.codex_triage.outputs.decision != '' }}
permissions:
contents: write
pull-requests: write