From 8afa86384309eb7a268027a01428e9c1e890e335 Mon Sep 17 00:00:00 2001 From: Cobus Greyling Date: Wed, 10 Jun 2026 13:30:26 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20daily=20triage=20PR=20step=20?= =?UTF-8?q?=E2=80=94=20gh=20pr=20create=20lacks=20--json=20flag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gh pr create does not support --json on GitHub-hosted runners. Create the PR first, then read the number via gh pr view. --- .github/workflows/daily-triage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/daily-triage.yml b/.github/workflows/daily-triage.yml index 4527084..6b96c7e 100644 --- a/.github/workflows/daily-triage.yml +++ b/.github/workflows/daily-triage.yml @@ -105,15 +105,15 @@ jobs: echo "PR #$EXISTING already open" PR_NUMBER="$EXISTING" else - PR_NUMBER=$(gh pr create \ + gh pr create \ --base main \ --head "$BRANCH" \ --title "chore(loop): daily triage STATE.md $(date -u +%Y-%m-%d)" \ --body "Automated daily triage update from \`daily-triage.yml\`. - Loop readiness: **${{ steps.audit.outputs.score }}** (${{ steps.audit.outputs.level }}) - - Merges automatically when \`validate\` and \`audit\` pass." \ - --json number -q '.number') + - Merges automatically when \`validate\` and \`audit\` pass." + PR_NUMBER=$(gh pr view "$BRANCH" --json number -q '.number') fi gh pr merge "$PR_NUMBER" --auto --squash --delete-branch