Commit fc635dc0fa7 for woocommerce
commit fc635dc0fa7942b5e4df21292fd5915b49314deb
Author: James Kemp <me@jckemp.com>
Date: Wed Nov 4 14:05:20 2026 +0000
Redirect large feature requests to the feature request board (#70645)
* Redirect large feature requests to the feature request board
* Match feature request reply to existing triage comment tone
* Tighten feature request reply wording
diff --git a/.github/workflows/triage-replies.yml b/.github/workflows/triage-replies.yml
index 33f406fa04a..ca52054ab0d 100644
--- a/.github/workflows/triage-replies.yml
+++ b/.github/workflows/triage-replies.yml
@@ -88,6 +88,44 @@ jobs:
state: 'closed',
state_reason: 'not_planned'
})
+ add-feature-request-comment:
+ if: "github.event.label.name == 'type: feature request'"
+ runs-on: ubuntu-latest
+ timeout-minutes: 5
+ permissions:
+ issues: write
+ steps:
+ - name: Add feature request comment
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ github.rest.issues.createComment({
+ issue_number: context.issue.number,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: "Hi @${{ github.event.issue.user.login }},\n\n\
+ Thank you for the suggestion! GitHub issues are for bugs and smaller improvements, \
+ and this looks like a larger feature request.\n\n\
+ Ideas like this belong on the [WooCommerce feature request board](https://woocommerce.com/feature-requests/), \
+ where other users can vote for them and add their own use cases. \
+ That's how we gauge demand and decide what to build next. \
+ Please add your request there, and feel free to link back to this issue.\n\n\
+ We are closing this issue for now. \
+ If you feel we misjudged the size and it's actually a small change, please leave a comment and we will take a second look."
+ })
+ - name: Close feature request issue
+ uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ script: |
+ github.rest.issues.update({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ state: 'closed',
+ state_reason: 'not_planned'
+ })
add-votes-comment:
if: "github.event.label.name == 'needs: votes'"
runs-on: ubuntu-latest