From 79895e0081d3f6cc843fec1df60683a4a400a080 Mon Sep 17 00:00:00 2001 From: Deborah Barnard Date: Fri, 29 Aug 2025 14:31:15 +0100 Subject: [PATCH] Ga auto comment (#3578) --- .github/workflows/auto-handle-on-label.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/auto-handle-on-label.yml b/.github/workflows/auto-handle-on-label.yml index 81b65f1b5..bd3bf07e2 100644 --- a/.github/workflows/auto-handle-on-label.yml +++ b/.github/workflows/auto-handle-on-label.yml @@ -10,7 +10,7 @@ on: - labeled jobs: handle-labels: - if: contains(fromJSON('["spam", "ai-slop", "low-effort-bad", "duplicate", "dev-cancelled", "pending-dev", "in-next-release"]'), github.event.label.name) + if: contains(fromJSON('["spam", "ai-slop", "low-effort-bad", "duplicate", "dev-cancelled", "pending-dev", "in-next-release", "old-course"]'), github.event.label.name) runs-on: ubuntu-latest permissions: issues: write @@ -36,19 +36,6 @@ jobs: "duplicate") echo "comment=@$AUTHOR This duplicates another issue or PR, or the work was already done elsewhere. Please review n8n's [contributing](${{ env.CONTRIBUTING_LINK }}) guidelines." >> $GITHUB_OUTPUT echo "should_close=true" >> $GITHUB_OUTPUT - ;; - "dev-cancelled") - echo "comment=Hi @$AUTHOR, thanks for the pull request! \n It looks like the PR in the main repo was closed. I'm going to go ahead and close this one too since this depends on the main repo submission being accepted. Please let me know if the status changes, however, and we can re-open as needed." >> $GITHUB_OUTPUT - echo "should_close=true" >> $GITHUB_OUTPUT - ;; - "pending-dev") - echo "comment=Thanks @AUTHOR! We'll hold off on reviewing this until the PR is ready to go in the main repo." >> $GITHUB_OUTPUT - echo "should_close=false" >> $GITHUB_OUTPUT - ;; - "in-next-release") - echo "comment=Holding off on merging until this is released." >> $GITHUB_OUTPUT - echo "should_close=false" >> $GITHUB_OUTPUT - ;; "old-course") echo "comment=Hi @AUTHOR! Thanks for your contribution, but we are no longer updating the course. We expect to fully replace it in the coming months. Please review n8n's [contributing](${{ env.CONTRIBUTING_LINK }}) guidelines." >> $GITHUB_OUTPUT echo "should_close=true" >> $GITHUB_OUTPUT