Skip to content

Commit

Permalink
CI: update autolabeler to v5 (#411)
Browse files Browse the repository at this point in the history
Supersedes #388
  • Loading branch information
Guts authored Feb 19, 2024
2 parents 9f5d0b4 + 8acef40 commit 3d56628
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 12 deletions.
66 changes: 55 additions & 11 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,68 @@
bug:
- head-branch:
- ^fix
- fix
- ^hotfix
- hotfix

ci-cd:
- .github/**/*
- changed-files:
- any-glob-to-any-file:
- .github/**

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

documentation:
- docs/**/*
- changed-files:
- any-glob-to-any-file:
- "*.md"
- docs/**
- examples/**
- requirements/documentation.txt
- head-branch:
- ^docs
- documentation

enhancement:
- head-branch:
- ^feature
- feature
- ^improve
- improve

jobs:
- qgis_deployment_toolbelt/jobs/**/*
- changed-files:
- any-glob-to-any-file:
- qgis_deployment_toolbelt/jobs/**/*

packaging:
- builder/**/*
- qgis_deployment_toolbelt/builder/**/*
- setup.py
- changed-files:
- any-glob-to-any-file:
- builder/**/*
- Dockerfile
- setup.py
- .dockerignore
- head-branch:
- ^packaging
- packaging

quality:
- tests/**/*
- changed-files:
- any-glob-to-any-file:
- tests/**/*

tooling:
- setup.cfg
- .vscode/**/*
- changed-files:
- any-glob-to-any-file:
- ".*"
- codecov.yml
- setup.cfg
- sonar-project.properties
- .vscode/**/*
- head-branch:
- ^tooling
- tooling
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
"files.associations": {
"./requirements/*.txt": "pip-requirements"
},
// JSON
"[json]": {
"editor.formatOnSave": true,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
// Python
"python.analysis.autoFormatStrings": true,
"python.analysis.typeCheckingMode": "basic",
Expand All @@ -21,6 +29,19 @@
],
"editor.wordWrapColumn": 88,
},
// YAML
"[yaml]": {
"editor.autoIndent": "keep",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"diffEditor.ignoreTrimWhitespace": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
// Tests
"python.testing.unittestEnabled": true,
"python.testing.pytestEnabled": true,
Expand Down

0 comments on commit 3d56628

Please sign in to comment.