Skip to content

Commit

Permalink
ci: add pr labeler for x modules
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Mar 10, 2023
1 parent 815b131 commit 8afa3a1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"C:x/audit":
- x/audit/**/*
"C:x/cert":
- x/cert/**/*
"C:x/deployment":
- x/deployment/**/*
"C:x/escrow":
- x/escrow/**/*
"C:x/gov":
- x/gov/**/*
"C:x/inflation":
- x/inflation/**/*
"C:x/market":
- x/market/**/*
"C:x/provider":
- x/provider/**/*
"C:x/staking":
- x/staking/**/*
18 changes: 18 additions & 0 deletions .github/workflows/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: github
on:
- pull_request_target

permissions:
contents: read

jobs:
pr-labeler:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
configuration-path: .github/pr_labeler.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 8afa3a1

Please sign in to comment.