diff --git a/.github/pr_labeler.yml b/.github/pr_labeler.yml index 56249140c4..3b5f092349 100644 --- a/.github/pr_labeler.yml +++ b/.github/pr_labeler.yml @@ -1,29 +1,37 @@ "C:x/consumer": - - x/ccv/consumer/**/* +- changed-files: + - any-glob-to-any-file: x/ccv/consumer/** "C:x/democracy": - - x/ccv/democracy/**/* +- changed-files: + - any-glob-to-any-file: x/ccv/democracy/** "C:x/provider": - - x/ccv/provider/**/* +- changed-files: + - any-glob-to-any-file: x/ccv/provider/** "C:x/types": - - x/ccv/types/**/* +- changed-files: + - any-glob-to-any-file: x/ccv/types/** "C:Docs": - - docs/docs/**/* +- changed-files: + - any-glob-to-any-file: docs/docs/** "C:ADR": - - docs/docs/adrs/**/* +- changed-files: + - any-glob-to-any-file: docs/docs/adrs/** "C:CI": - - .github/**/*.yml - - buf.work.yaml - - .mergify.yml - - .golangci.yml - - mlc_config.json - - sonar-project.properties +- changed-files: + - any-glob-to-any-file: .github/**/*.yml + - any-glob-to-any-file: buf.work.yaml + - any-glob-to-any-file: .mergify.yml + - any-glob-to-any-file: .golangci.yml + - any-glob-to-any-file: mlc_config.json + - any-glob-to-any-file: sonar-project.properties "C:Build": - - Makefile - - Dockerfile - - scripts/* +- changed-files: + - any-glob-to-any-file: Makefile + - any-glob-to-any-file: Dockerfile + - any-glob-to-any-file: scripts/** "C:Testing": - - app/**/* - - cmd/**/* - - legacy_ibc_testing/**/* - - tests/**/* - - testutil/**/* \ No newline at end of file +- changed-files: + - any-glob-to-any-file: app/** + - any-glob-to-any-file: cmd/** + - any-glob-to-any-file: tests/** + - any-glob-to-any-file: testutil/** \ No newline at end of file diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index 3adc6112d0..a9d8e732b6 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -12,7 +12,7 @@ jobs: pull-requests: write # for actions/labeler to add labels to PRs runs-on: ubuntu-latest steps: - - uses: actions/labeler@main + - uses: actions/labeler@v5 with: configuration-path: .github/pr_labeler.yml repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file