From e8e5c08655b18439fa091e2a73779db1414fffca Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Tue, 27 Apr 2021 14:52:19 -0400 Subject: [PATCH] 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 * 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 Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> --- .github/labeler.yml | 57 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 11 +++++++ 2 files changed, 68 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..fd207efacf --- /dev/null +++ b/.github/labeler.yml @@ -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/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..2f40ea5d36 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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 }}" \ No newline at end of file