forked from gitea/gitea
Backport #29721 Updated to actions/labeler@v5 Updated labeler config accordingly, also improved the config and added more labels. Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
bb2640c485
commit
bb9860307f
|
@ -1,36 +1,84 @@
|
||||||
modifies/docs:
|
modifies/docs:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
- "**/*.md"
|
- "**/*.md"
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
|
||||||
modifies/frontend:
|
modifies/frontend:
|
||||||
- "web_src/**/*"
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- "web_src/**"
|
||||||
|
- "tailwind.config.js"
|
||||||
|
- "webpack.config.js"
|
||||||
|
|
||||||
modifies/templates:
|
modifies/templates:
|
||||||
- all: ["templates/**", "!templates/swagger/v1_json.tmpl"]
|
- changed-files:
|
||||||
|
- all-globs-to-any-file:
|
||||||
|
- "templates/**"
|
||||||
|
- "!templates/swagger/v1_json.tmpl"
|
||||||
|
|
||||||
modifies/api:
|
modifies/api:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
- "routers/api/**"
|
- "routers/api/**"
|
||||||
- "templates/swagger/v1_json.tmpl"
|
- "templates/swagger/v1_json.tmpl"
|
||||||
|
|
||||||
modifies/cli:
|
modifies/cli:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
- "cmd/**"
|
- "cmd/**"
|
||||||
|
|
||||||
modifies/translation:
|
modifies/translation:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
- "options/locale/*.ini"
|
- "options/locale/*.ini"
|
||||||
|
|
||||||
modifies/migrations:
|
modifies/migrations:
|
||||||
- "models/migrations/**/*"
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- "models/migrations/**"
|
||||||
|
|
||||||
modifies/internal:
|
modifies/internal:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- ".air.toml"
|
||||||
- "Makefile"
|
- "Makefile"
|
||||||
- "Dockerfile"
|
- "Dockerfile"
|
||||||
- "Dockerfile.rootless"
|
- "Dockerfile.rootless"
|
||||||
|
- ".dockerignore"
|
||||||
- "docker/**"
|
- "docker/**"
|
||||||
- "webpack.config.js"
|
- ".editorconfig"
|
||||||
- ".eslintrc.yaml"
|
- ".eslintrc.yaml"
|
||||||
- ".golangci.yml"
|
- ".golangci.yml"
|
||||||
|
- ".gitpod.yml"
|
||||||
- ".markdownlint.yaml"
|
- ".markdownlint.yaml"
|
||||||
- ".spectral.yaml"
|
- ".spectral.yaml"
|
||||||
- ".stylelintrc.yaml"
|
- ".stylelintrc.yaml"
|
||||||
- ".yamllint.yaml"
|
- ".yamllint.yaml"
|
||||||
- ".github/**"
|
- ".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"
|
||||||
|
|
||||||
|
modifies/go:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- "**/*.go"
|
||||||
|
|
||||||
|
modifies/js:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- "**/*.js"
|
||||||
|
|
|
@ -9,13 +9,12 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
labeler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/labeler@v4
|
- uses: actions/labeler@v5
|
||||||
with:
|
with:
|
||||||
dot: true
|
|
||||||
sync-labels: true
|
sync-labels: true
|
||||||
|
|
Loading…
Reference in New Issue