monkeyDluffy6017 commented on code in PR #9927:
URL: https://github.com/apache/apisix/pull/9927#discussion_r1285457174


##########
.github/workflows/update-labels.yml:
##########
@@ -0,0 +1,22 @@
+name: Update label when user responds
+permissions:
+  issues: write
+
+on:
+  issue_comment:
+    types: [created]
+
+jobs:
+  run-check:
+    runs-on: ubuntu-latest
+    steps:
+      - name: update labels when user responds
+        uses: andymckay/labeler@master
+        if: ${{ github.event.comment.user.login == 
github.event.issue.user.login && contains(github.event.issue.labels.*.name, 
'wait for update') && !contains(github.event.issue.labels.*.name, 'user 
responded') }}
+        with:
+          add-labels: 'user responded'
+          remove-labels: 'wait for update'
+        if: ${{ github.event.comment.user.login == 
github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'no 
response') && contains(github.event.issue.labels.*.name, 'wait for update') && 
!contains(github.event.issue.labels.*.name, 'user responded') }}

Review Comment:
   OK, i get you



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to