Sfoglia il codice sorgente

Merge pull request #408 from dundargoc/ci/label

ci: only apply labels when opening a PR
Christina Sørensen 2 anni fa
parent
commit
1bf3fbd149
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      .github/workflows/label.yml

+ 3 - 1
.github/workflows/label.yml

@@ -8,7 +8,9 @@
 # For inspiration see: https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/labels.yml
 
 name: Labeler
-on: [pull_request_target]
+on:
+  pull_request_target:
+    types: [opened]
 
 jobs:
   label: