浏览代码

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


正在加载...
取消
保存