Skip to content

Commit

Permalink
build(ci): fix labeler config (#1274)
Browse files Browse the repository at this point in the history
## Description

This PR fixed the Labeler config to be compatible with the new action
version

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

---

### Author Checklist

*All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR
Targeting](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building
modules](https://docs.cosmos.network/v0.44/building-modules/intro.html)
- [ ] included the necessary unit and integration
[tests](https://github.com/desmos-labs/desmos/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go
code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable
and please add
your handle next to the items reviewed if you only reviewed selected
items.*

I have...

- [ ] confirmed the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
  • Loading branch information
RiccardoM authored Dec 6, 2023
1 parent 946bfe8 commit 56a3b81
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
40 changes: 25 additions & 15 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
"x/fees":
- x/fees/**/*
- changed-files:
- any-glob-to-any-file: x/fees/**/*
"x/profiles":
- x/profiles/**/*
- changed-files:
- any-glob-to-any-file: x/profiles/**/*
"x/relationships":
- x/relationships/**/*
- changed-files:
- any-glob-to-any-file: x/relationships/**/*
"x/subspaces":
- x/subspaces/**/*
- changed-files:
- any-glob-to-any-file: x/subspaces/**/*
"x/CLI":
- client/**/*
- x/*/client/**/*
- changed-files:
- any-glob-to-any-file: client/**/*
- any-glob-to-any-file: x/*/client/**/*
"kind/build":
- Makefile
- Dockerfile
- docker-compose.yml
- scripts/*
- changed-files:
- any-glob-to-any-file: Makefile
- any-glob-to-any-file: Dockerfile
- any-glob-to-any-file: docker-compose.yml
- any-glob-to-any-file: scripts/*
"kind/ci":
- .github/**/*.yml
- buf.yaml
- .mergify.yml
- .golangci.yml
- changed-files:
- any-glob-to-any-file: .github/**/*.yml
- any-glob-to-any-file: buf.yaml
- any-glob-to-any-file: .mergify.yml
- any-glob-to-any-file: .golangci.yml
- any-glob-to-any-file: .github/dependabot.yml
- any-glob-to-any-file: .github/labeler.yml
"kind/ADR":
- docs/architecture/**/*
- changed-files:
- any-glob-to-any-file: docs/architecture/**/*
11 changes: 8 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ on:
- pull_request_target

jobs:
labeler:
Labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Apply PR labels 🏷️
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 56a3b81

Please sign in to comment.