瀏覽代碼

ci: label test requirement (#17691)

[skip ci]
version-14
Ankush Menat 2 年之前
committed by GitHub
父節點
當前提交
01fbd035a7
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 3 個檔案被更改,包括 17 行新增1 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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


Loading…
取消
儲存