diff --git a/.github/labeler.yml b/.github/labeler.yml index b3f32c86f6..66579bd57c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -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/**/* \ No newline at end of file + - changed-files: + - any-glob-to-any-file: docs/architecture/**/* \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 2f40ea5d36..0b3c483c00 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -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 }}" \ No newline at end of file + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true