Skip to content

Commit

Permalink
ci: add pr langauge labeler on pull_request_target event
Browse files Browse the repository at this point in the history
  • Loading branch information
bky373 committed Aug 25, 2024
1 parent 6940cbb commit d5dc4dc
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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:
- "**/*.ex"
13 changes: 13 additions & 0 deletions .github/workflows/automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d5dc4dc

Please sign in to comment.