Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore: remove "status: waiting for author" label on review request (#5983)

gbhavya07fa3488d80db5
diff --git a/.github/workflows/remove-waiting-label.yml b/.github/workflows/remove-waiting-label.yml
new file mode 100644
index 00000000..b21e7d2c
--- /dev/null
+++ b/.github/workflows/remove-waiting-label.yml
@@ -0,0 +1,21 @@
+name: Remove "waiting for author" label on review request
+
+on:
+ pull_request_target:
+ types: [review_requested]
+ workflow_dispatch:
+
+permissions:
+ issues: write
+ pull-requests: write
+
+jobs:
+ remove-label:
+ if: ${{ !github.event.pull_request.draft }}
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: 'Remove "status: waiting for author" label'
+ uses: actions-ecosystem/action-remove-labels@v1
+ with:
+ labels: 'status: waiting for author'