Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to labeler v5 #29721

Merged
merged 10 commits into from
Mar 12, 2024
92 changes: 71 additions & 21 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,86 @@
modifies/docs:
- "**/*.md"
- "docs/**"
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "docs/**"

modifies/frontend:
- "web_src/**/*"
- changed-files:
- any-glob-to-any-file:
- "web_src/**"
- "tailwind.config.js"
- "webpack.config.js"

modifies/templates:
- all: ["templates/**", "!templates/swagger/v1_json.tmpl"]
- changed-files:
- all-globs-to-any-file:
- "templates/**"
- "!templates/swagger/v1_json.tmpl"

modifies/api:
- "routers/api/**"
- "templates/swagger/v1_json.tmpl"
- changed-files:
- any-glob-to-any-file:
- "routers/api/**"
- "templates/swagger/v1_json.tmpl"

modifies/cli:
- "cmd/**"
- changed-files:
- any-glob-to-any-file: ["cmd/**"]
silverwind marked this conversation as resolved.
Show resolved Hide resolved

modifies/translation:
- "options/locale/*.ini"
- changed-files:
- any-glob-to-any-file: ["options/locale/*.ini"]

modifies/migrations:
- "models/migrations/**/*"
- changed-files:
- any-glob-to-any-file: ["models/migrations/**"]

modifies/internal:
- "Makefile"
- "Dockerfile"
- "Dockerfile.rootless"
- "docker/**"
- "webpack.config.js"
- ".eslintrc.yaml"
- ".golangci.yml"
- ".markdownlint.yaml"
- ".spectral.yaml"
- ".stylelintrc.yaml"
- ".yamllint.yaml"
- ".github/**"
- changed-files:
- any-glob-to-any-file:
- ".air.toml"
- "Makefile"
- "Dockerfile"
- "Dockerfile.rootless"
- ".dockerignore"
- "docker/**"
- ".editorconfig"
- ".eslintrc.yaml"
- ".golangci.yml"
- ".gitpod.yml"
- ".markdownlint.yaml"
- ".spectral.yaml"
- ".stylelintrc.yaml"
- ".yamllint.yaml"
- ".github/**"
- ".gitea/"
- ".devcontainer/**"
- "build.go"
- "build/**"
- "contrib/**"

modifies/dependencies:
- changed-files:
- any-glob-to-any-file:
- "package.json"
- "package-lock.json"
- "poetry.toml"
- "poetry.lock"
- "go.mod"
- "go.sum"
- "pyproject.toml"

go:
- changed-files:
- any-glob-to-any-file: ["**/*.go"]

javascript:
- changed-files:
- any-glob-to-any-file: ["**/*.js"]

changelog:
denyskon marked this conversation as resolved.
Show resolved Hide resolved
- changed-files:
- any-glob-to-any-file:
- "custom/app.example.ini"
- "docs/content/administration/config-cheat-sheet.en-us.md"
- "docs/content/administration/config-cheat-sheet.zh-cn.md"
6 changes: 3 additions & 3 deletions .github/workflows/pull-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ concurrency:
cancel-in-progress: true

jobs:
label:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
dot: true
sync-labels: true
Loading