diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..4bea56ef6 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,44 @@ +js: + - changed-files: + - any-glob-to-any-file: + - "**/*.js" + +ts: + - changed-files: + - any-glob-to-any-file: + - "**/*.ts" + +py: + - changed-files: + - any-glob-to-any-file: + - "**/*.py" + +java: + - changed-files: + - any-glob-to-any-file: + - "**/*.java" + +c++: + - changed-files: + - any-glob-to-any-file: + - "**/*.cpp" + +swift: + - changed-files: + - any-glob-to-any-file: + - "**/*.swift" + +kotlin: + - changed-files: + - any-glob-to-any-file: + - "**/*.kt" + +go: + - changed-files: + - any-glob-to-any-file: + - "**/*.go" + +elixir: + - changed-files: + - any-glob-to-any-file: + - "**/*.exs" diff --git a/.github/workflows/automation.yaml b/.github/workflows/automation.yaml index 0f75fa22d..943175cf0 100644 --- a/.github/workflows/automation.yaml +++ b/.github/workflows/automation.yaml @@ -11,3 +11,16 @@ jobs: pull-requests: write steps: - uses: toshimaru/auto-author-assign@v2.1.0 + + label-lang: + runs-on: ubuntu-latest + continue-on-error: true + + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v5 + with: + repo-token: ${{ github.token }}