.github/workflows/labels.yml: label PRs

This commit is contained in:
zowoq
2021-01-30 14:41:31 +10:00
committed by Cole Helbling
parent 48db3653ca
commit cce9a296bd
2 changed files with 163 additions and 0 deletions

14
.github/workflows/labels.yml vendored Normal file
View File

@@ -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