Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ci): update pr labeler #1908

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
"C:x/audit":
- changed-files:
- any-glob-to-any-file: x/audit/**/*
"C:x/cert":
- changed-files:
- any-glob-to-any-file: x/cert/**/*
"C:x/deployment":
- changed-files:
- any-glob-to-any-file: x/deployment/**/*
"C:x/escrow":
- changed-files:
- any-glob-to-any-file: x/escrow/**/*
"C:x/gov":
- changed-files:
- any-glob-to-any-file: x/gov/**/*
"C:x/inflation":
- changed-files:
- any-glob-to-any-file: x/inflation/**/*
"C:x/market":
- changed-files:
- any-glob-to-any-file: x/market/**/*
"C:x/provider":
- changed-files:
- any-glob-to-any-file: x/provider/**/*
"C:x/staking":
- changed-files:
- any-glob-to-any-file: x/staking/**/*
"C:x/take":
- changed-files:
- any-glob-to-any-file: x/take/**/*
"C:CLI":
- changed-files:
- any-glob-to-any-file: cmd/**/*
- changed-files:
- any-glob-to-any-file: x/*/client/cli/*
"C:upgrades":
- changed-files:
- any-glob-to-any-file: upgrades/**/*
"Type: Build":
- changed-files:
- any-glob-to-any-file: Makefile
- changed-files:
- any-glob-to-any-file: Dockerfile
- changed-files:
- any-glob-to-any-file: script/*
- changed-files:
- any-glob-to-any-file: make/*
- changed-files:
- any-glob-to-any-file: .goreleaser*
"Type: CI":
- changed-files:
- any-glob-to-any-file: .github/**/*
33 changes: 0 additions & 33 deletions .github/pr_labeler.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ permissions:
contents: read

jobs:
pr-labeler:
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
- uses: actions/checkout@v3
- uses: actions/labeler@v5
with:
configuration-path: .github/pr_labeler.yaml
configuration-path: .github/labeler.yaml
repo-token: "${{ secrets.GITHUB_TOKEN }}"
dot: true
Loading