ci: add auto labeller workflow
This commit is contained in:
parent
2fe919e746
commit
23b0a3f546
55
.github/labeler.yml
vendored
Normal file
55
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
accounts:
|
||||
- 'erpnext/accounts/*'
|
||||
- 'erpnext/controllers/accounts_controller.py'
|
||||
- 'erpnext/controllers/taxes_and_totals.py'
|
||||
|
||||
stock:
|
||||
- 'erpnext/stock/*'
|
||||
- 'erpnext/controllers/stock_controller.py'
|
||||
- 'erpnext/controllers/item_variant.py'
|
||||
|
||||
assets:
|
||||
- 'erpnext/assets/*'
|
||||
|
||||
regional:
|
||||
- 'erpnext/regional/*'
|
||||
|
||||
selling:
|
||||
- 'erpnext/selling/*'
|
||||
- 'erpnext/controllers/selling_controller.py'
|
||||
|
||||
buying:
|
||||
- 'erpnext/buying/*'
|
||||
- 'erpnext/controllers/buying_controller.py'
|
||||
|
||||
support:
|
||||
- 'erpnext/support/*'
|
||||
|
||||
POS:
|
||||
- 'pos*'
|
||||
|
||||
ecommerce:
|
||||
- 'erpnext/e_commerce/*'
|
||||
|
||||
maintenance:
|
||||
- 'erpnext/maintenance/*'
|
||||
|
||||
manufacturing:
|
||||
- 'erpnext/manufacturing/*'
|
||||
|
||||
crm:
|
||||
- 'erpnext/crm/*'
|
||||
|
||||
HR:
|
||||
- 'erpnext/hr/*'
|
||||
|
||||
payroll:
|
||||
- 'erpnext/payroll*'
|
||||
|
||||
projects:
|
||||
- 'erpnext/projects/*'
|
||||
|
||||
# Any python files modifed but no test files modified
|
||||
needs-tests:
|
||||
- any: ['**/*.py']
|
||||
- all: ['!**/test*.py']
|
12
.github/workflows/labeller.yml
vendored
Normal file
12
.github/workflows/labeller.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v3
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
sync-labels: true
|
Loading…
x
Reference in New Issue
Block a user