Ver código fonte

ci: label test requirement (#17691)

[skip ci]
version-14
Ankush Menat 2 anos atrás
committed by GitHub
pai
commit
01fbd035a7
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
3 arquivos alterados com 17 adições e 1 exclusões
  1. +4
    -0
      .github/labeler.yml
  2. +12
    -0
      .github/workflows/labeller.yml
  3. +1
    -1
      frappe/geo/doctype/country/country.py

+ 4
- 0
.github/labeler.yml Ver arquivo

@@ -0,0 +1,4 @@
# Any python files modifed but no test files modified
add-test-cases:
- any: ['frappe/**/*.py']
all: ['!frappe/**/test*.py']

+ 12
- 0
.github/workflows/labeller.yml Ver arquivo

@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
pull_request_target:
types: [opened, reopened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

+ 1
- 1
frappe/geo/doctype/country/country.py Ver arquivo

@@ -1,4 +1,4 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# Copyright (c) 2022, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

from frappe.model.document import Document


Carregando…
Cancelar
Salvar