We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87bf76a commit 75eeb55Copy full SHA for 75eeb55
1 file changed
.github/workflows/orchestrator.yml
@@ -42,8 +42,9 @@ jobs:
42
# Guard: Only process workflow_run if it matches the CURRENT task
43
if [ "$EVENT_NAME" == "workflow_run" ]; then
44
RUN_TITLE="${{ github.event.workflow_run.display_title }}"
45
- if [[ "$RUN_TITLE" != *"$CURRENT"* ]]; then
46
- echo "Workflow run '$RUN_TITLE' does not match current task #$CURRENT. Skipping."
+ ISSUE_TITLE=$(gh issue view $CURRENT --json title --jq '.title')
+ if [[ "$RUN_TITLE" != "$ISSUE_TITLE" ]]; then
47
+ echo "Workflow run '$RUN_TITLE' does not match current task #$CURRENT title '$ISSUE_TITLE'. Skipping."
48
exit 0
49
fi
50
0 commit comments