Skip to content

Commit

Permalink
ci: upgrade autolabeler to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jan 11, 2024
1 parent 3015d7b commit 7d55023
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 7d55023

Please sign in to comment.