summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2021-01-30 14:41:31 +1000
committerCole Helbling <cole.e.helbling@outlook.com>2021-03-20 17:51:02 -0700
commitcce9a296bd8856190e8bee8218809c09ca1d49c0 (patch)
treedd07bf4a77c124d6d27768e67553e22dddd6aa31 /.github/workflows
parent48db3653ca7218673de1829f8c31fef21a5d894e (diff)
.github/workflows/labels.yml: label PRs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/labels.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml
new file mode 100644
index 0000000000000..1139807753db9
--- /dev/null
+++ b/.github/workflows/labels.yml
@@ -0,0 +1,14 @@
+name: "Label PR"
+
+on:
+  pull_request_target:
+
+jobs:
+  labels:
+    runs-on: ubuntu-latest
+    if: github.repository_owner == 'NixOS'
+    steps:
+    - uses: actions/labeler@v3
+      with:
+        repo-token: ${{ secrets.GITHUB_TOKEN }}
+        sync-labels: true