ソースを参照

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


読み込み中…
キャンセル
保存