Browse Source

Add label Community Contribution :crown: to PR's

jspijker 2 years ago
parent
commit
f9623bf1c4
1 changed files with 15 additions and 0 deletions
  1. 15 0
      .github/workflows/process-pull-request.yml

+ 15 - 0
.github/workflows/process-pull-request.yml

@@ -0,0 +1,15 @@
+name: process-pull-request
+
+on:
+    pull_request_target:
+        types: [opened, reopened, edited, synchronize, review_requested, ready_for_review, assigned]
+
+jobs:
+    add_label:
+        runs-on: ubuntu-latest
+        steps:
+            -   uses: actions/checkout@v2
+            -   uses: actions-ecosystem/action-add-labels@v1
+                if: ${{ github.repository_owner != 'Ultimaker' }}
+                with:
+                    labels: 'Community Contribution :crown:'