forked from gitea/gitea
1
0
Fork 0

Update to labeler v5 (#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:
Denys Konovalov 2024-03-12 23:09:02 +01:00 committed by GitHub
parent 3e7ae79f99
commit 225fc40528
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 72 additions and 24 deletions

90
.github/labeler.yml vendored
View File

@ -1,36 +1,84 @@
modifies/docs: modifies/docs:
- "**/*.md" - changed-files:
- "docs/**" - any-glob-to-any-file:
- "**/*.md"
- "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:
- "routers/api/**" - changed-files:
- "templates/swagger/v1_json.tmpl" - any-glob-to-any-file:
- "routers/api/**"
- "templates/swagger/v1_json.tmpl"
modifies/cli: modifies/cli:
- "cmd/**" - changed-files:
- any-glob-to-any-file:
- "cmd/**"
modifies/translation: modifies/translation:
- "options/locale/*.ini" - changed-files:
- any-glob-to-any-file:
- "options/locale/*.ini"
modifies/migrations: modifies/migrations:
- "models/migrations/**/*" - changed-files:
- any-glob-to-any-file:
- "models/migrations/**"
modifies/internal: modifies/internal:
- "Makefile" - changed-files:
- "Dockerfile" - any-glob-to-any-file:
- "Dockerfile.rootless" - ".air.toml"
- "docker/**" - "Makefile"
- "webpack.config.js" - "Dockerfile"
- ".eslintrc.yaml" - "Dockerfile.rootless"
- ".golangci.yml" - ".dockerignore"
- ".markdownlint.yaml" - "docker/**"
- ".spectral.yaml" - ".editorconfig"
- ".stylelintrc.yaml" - ".eslintrc.yaml"
- ".yamllint.yaml" - ".golangci.yml"
- ".github/**" - ".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"
modifies/go:
- changed-files:
- any-glob-to-any-file:
- "**/*.go"
modifies/js:
- changed-files:
- any-glob-to-any-file:
- "**/*.js"

View File

@ -9,12 +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