Add labeler action (#9204)

* Add labeler action

* Update .github/labeler.yml

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>

* Update .github/labeler.yml

Co-authored-by: Cory <cjlevinson@gmail.com>

* update labels

* update labels

* Update .github/labeler.yml

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* update labels

Co-authored-by: Cory <cjlevinson@gmail.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Aaron Craelius 2021-04-27 14:52:19 -04:00 committed by GitHub
parent 3ab1bc2346
commit e8e5c08655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 68 additions and 0 deletions

57
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,57 @@
"Scope: x/auth":
- x/auth/**/*
"Scope: x/authz":
- x/authz/**/*
"Scope: x/bank":
- x/bank/**/*
"Scope: x/capability":
- x/capability/**/*
"Scope: x/crisis":
- x/crisis/**/*
"Scope: x/distribution":
- x/distribution/**/*
"Scope: x/evidence":
- x/evidence/**/*
"Scope: x/feegrant":
- x/feegrant/**/*
"Scope: x/genutil":
- x/genutil/**/*
"Scope: x/gov":
- x/gov/**/*
"Scope: x/mint":
- x/mint/**/*
"Scope: x/params":
- x/params/**/*
"Scope: Simulations":
- x/simulation/**/*
- x/*/simulation/**/*
"Scope: x/slashing":
- x/slashing/**/*
"Scope: x/staking":
- x/staking/**/*
"Scope: x/upgrade":
- x/upgrade/**/*
"Scope: Cosmovisor":
- cosmovisor/**/*
"Scope: Rosetta":
- contrib/rosetta/**/*
"Scope: Keys":
- client/keys/**/*
"Type: Build":
- Makefile
- Dockerfile
- docker-compose.yml
- scripts/*
"Type: CI":
- .github/**/*.yml
- buf.yaml
- .mergify.yml
- .golangci.yml
"Scope: CLI":
- client/**/*
- x/*/client/**/*
"Type: Docs":
- docs/**/*
- x/*/spec/**/*
"Type: ADR":
- docs/architecture/**/*

11
.github/workflows/labeler.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"