Remove "awaiting-review" labels from closed issues.
authorAnton Korobeynikov <anton@korobeynikov.info>
Thu, 27 Jan 2022 20:06:15 +0000 (23:06 +0300)
committerAnton Korobeynikov <anton@korobeynikov.info>
Thu, 27 Jan 2022 20:06:15 +0000 (23:06 +0300)
Fixes #53451

.github/workflows/closed-issues.yml [new file with mode: 0644]

diff --git a/.github/workflows/closed-issues.yml b/.github/workflows/closed-issues.yml
new file mode 100644 (file)
index 0000000..dba8503
--- /dev/null
@@ -0,0 +1,13 @@
+name: Labeling closed issues
+on:
+  issues:
+    types: ['closed']
+
+jobs:
+  automate-issues-labels:
+    runs-on: ubuntu-latest
+    if: github.repository == 'llvm/llvm-project'
+    steps:
+      - uses: andymckay/labeler@1.0.4
+        with:
+          remove-labels: "awaiting-review"
\ No newline at end of file