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: |