From e0fb817a75423db978a513ddfcbfa9d1d15d4a4d Mon Sep 17 00:00:00 2001 From: purian23 Date: Sun, 12 Jul 2026 16:27:32 -0400 Subject: [PATCH] add(workflows): update notify_issues input to release flows Port 1.5 (cherry picked from commit eaecff93a4c873929e6aad8fec024a0b031746a9) --- .github/workflows/point-release.yml | 10 +++++++++- .github/workflows/release.yml | 10 ++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/point-release.yml b/.github/workflows/point-release.yml index 9cb871b5c..7abd2b487 100644 --- a/.github/workflows/point-release.yml +++ b/.github/workflows/point-release.yml @@ -11,6 +11,11 @@ on: description: "Point release version (e.g. 1.5.1)" required: true type: string + notify_issues: + description: "Comment on open related/fixes issues asking reporters to retest" + required: false + type: boolean + default: true permissions: contents: write @@ -79,7 +84,10 @@ jobs: - name: Dispatch Release workflow env: GH_TOKEN: ${{ steps.app_token.outputs.token }} - run: gh workflow run release.yml --ref "${{ steps.derive.outputs.tag }}" -f tag="${{ steps.derive.outputs.tag }}" + run: | + gh workflow run release.yml --ref "${{ steps.derive.outputs.tag }}" \ + -f tag="${{ steps.derive.outputs.tag }}" \ + -f notify_issues="${{ inputs.notify_issues }}" - name: Next steps run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 228e814d6..43aa88e05 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,11 @@ on: description: "Tag to release (e.g., v1.0.1)" required: true type: string + notify_issues: + description: "Comment on open related/fixes issues asking reporters to retest" + required: false + type: boolean + default: false permissions: contents: write @@ -430,9 +435,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ask reporters on still-open "related/fixes #N" issues to retest. - # Skipped for prereleases; --dry-run locally: scripts/notify-issues.sh --dry-run + # Opt-in via notify_issues (Point release defaults it on). Skipped for + # prereleases. Preview: scripts/notify-issues.sh --dry-run - name: Notify open issues to retest - if: ${{ !contains(env.TAG, '-') }} + if: ${{ inputs.notify_issues && !contains(env.TAG, '-') }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |