aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-30 00:54:53 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-30 00:54:53 +0100
commitbdecdee7745c5713f7430fc9936d9d3dfe367df0 (patch)
tree8df8fff458f09bccdf375582a8442a617f5dec14 /.github/workflows
parent7c6bdd010efc975b7eb36088b08e6e38daf1e9a5 (diff)
downloadskyhanni-bdecdee7745c5713f7430fc9936d9d3dfe367df0.tar.gz
skyhanni-bdecdee7745c5713f7430fc9936d9d3dfe367df0.tar.bz2
skyhanni-bdecdee7745c5713f7430fc9936d9d3dfe367df0.zip
Auto removing all labels of prs on merging/closing.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/remove-labels-on-pr-close.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/remove-labels-on-pr-close.yml b/.github/workflows/remove-labels-on-pr-close.yml
new file mode 100644
index 000000000..477c90d9f
--- /dev/null
+++ b/.github/workflows/remove-labels-on-pr-close.yml
@@ -0,0 +1,16 @@
+# https://github.com/marketplace/actions/label-remover
+
+name: "Remove All Labels"
+
+on:
+ pull_request:
+ types: [closed]
+
+jobs:
+ remove_very_soon:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: rogerluan/label-remover@v1.0.1
+ with:
+ github_token: ${{ secrets.github_token }}