chore(actions): labeler v4 to v5 (#4013)

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2023-12-05 10:20:39 -05:00
committed by GitHub
parent 183d885930
commit dacd44a264
2 changed files with 27 additions and 20 deletions

42
.github/labeler.yml vendored
View File

@@ -1,35 +1,45 @@
build:
- 'Dockerfile*'
- changed-files:
- any-glob-to-any-file: 'Dockerfile*'
dependencies:
- 'yarn.lock'
- 'go.*'
- changed-files:
- any-glob-to-any-file: 'yarn.lock'
- any-glob-to-any-file: 'go.*'
docs:
- 'runatlantis.io/**/*.md'
- 'README.md'
- changed-files:
- any-glob-to-any-file: 'runatlantis.io/**/*.md'
- any-glob-to-any-file: 'README.md'
github-actions:
- '.github/**'
- changed-files:
- any-glob-to-any-file: '.github/**'
go:
- '**/*.go'
- changed-files:
- any-glob-to-any-file: '**/*.go'
provider/azuredevops:
- 'server/**/*azuredevops*.go'
- changed-files:
- any-glob-to-any-file: 'server/**/*azuredevops*.go'
provider/bitbucket:
- 'server/**/*bitbucket*.go'
- 'server/events/vcs/bitbucketcloud/*.go'
- 'server/events/vcs/bitbucketserver/*.go'
- changed-files:
- any-glob-to-any-file: 'server/**/*bitbucket*.go'
- any-glob-to-any-file: 'server/events/vcs/bitbucketcloud/*.go'
- any-glob-to-any-file: 'server/events/vcs/bitbucketserver/*.go'
provider/github:
- 'server/**/*github*.go'
- changed-files:
- any-glob-to-any-file: 'server/**/*github*.go'
provider/gitlab:
- 'server/**/*gitlab*.go'
- changed-files:
- any-glob-to-any-file: 'server/**/*gitlab*.go'
website:
- 'runatlantis.io/.vuepress/**/*'
- 'package.json'
- 'yarn.lock'
- changed-files:
- any-glob-to-any-file: 'runatlantis.io/.vuepress/**/*'
- any-glob-to-any-file: 'package.json'
- any-glob-to-any-file: 'yarn.lock'

View File

@@ -16,7 +16,4 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-22.04
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
- uses: actions/labeler@v5