mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Ga auto comment (#3578)
This commit is contained in:
parent
31471ed9fd
commit
79895e0081
15
.github/workflows/auto-handle-on-label.yml
vendored
15
.github/workflows/auto-handle-on-label.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user