add labeler action
This commit is contained in:
parent
53dea1c0e7
commit
4297a0369c
2 changed files with 19 additions and 0 deletions
.github
5
.github/labeler.yml
vendored
Normal file
5
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
"merge with bors":
|
||||
- terraform/**/*
|
||||
|
||||
"terraform":
|
||||
- terraform/**/*
|
14
.github/workflows/labels.yml
vendored
Normal file
14
.github/workflows/labels.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: "labels"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'nix-community/infra'
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
sync-labels: true
|
Loading…
Add table
Reference in a new issue