Skip to content

Commit

Permalink
Merge pull request #149 from geotribu/ci/upgrade-labeler-to-v5
Browse files Browse the repository at this point in the history
ci: upgrade autolabeler to v5
  • Loading branch information
Guts authored Jan 11, 2024
2 parents 3015d7b + 7d55023 commit 2c5dccf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
26 changes: 20 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
ci-cd:
- .github/**/*
- any-glob-to-any-file: .github/**

dependencies:
- requirements/*.txt
- any-glob-to-any-file: requirements/*.txt
- requirements.txt

documentation:
- docs/**/*
- requirements/documentation.txt
- changed-files:
- any-glob-to-any-file: docs/**
- requirements/documentation.txt

enhancement:
- head-branch: ["^feature", "feature", "^improve", "improve"]

packaging:
- head-branch: ["^packaging", "packaging"]

tooling:
- head-branch: ["^tooling", "tooling"]
- codecov.yml
- .pre-commit-config.yaml
- sonar-project.properties

UI:
- qtribu/**/*.ui
- qtribu/gui/**/*
- head-branch: ["^ui", "ui"]
- any-glob-to-any-file: qtribu/**/*.ui
- any-glob-to-any-file: qtribu/gui/**
5 changes: 4 additions & 1 deletion .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 2c5dccf

Please sign in to comment.