The template for `github/workflows/ci-template-check.yml` has been updated

Đang mở Phù hợp với người mới
#7,366 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
85/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, yaml
Lĩnh vực
ci-cd

Hướng nghiên cứu

Đọc .github/workflows/ci-template-check.yml và so sánh với template được liên kết và diff. Áp dụng các thay đổi phù hợp từ diff, sau đó kiểm tra xem workflow có tuân theo các quy ước chung dự kiến hay không; nếu không có thay đổi nào phù hợp, hãy đóng issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Templating

The template for .github/workflows/ci-template-check.yml has been updated; see the diff below. Please either:

  • Action this issue with a pull request applying some/all of these changes to .github/workflows/ci-template-check.yml[^1].
  • Close this issue if none of these changes are appropriate for this repo.

Also consider reviewing a full diff between the template and .github/workflows/ci-template-check.yml, in case other valuable shared conventions have previously been missed.

File Links

Diff

diff --git a/templates/github/workflows/ci-template-check.yml b/templates/github/workflows/ci-template-check.yml
new file mode 100644
index 0000000..674c962
--- /dev/null
+++ b/templates/github/workflows/ci-template-check.yml
@@ -0,0 +1,20 @@
+# Checks if a PR makes any changes that ought to be shared via templating.
+# See the called workflow in the scitools/workflows repo for more details.
+
+name: ci-template-check
+
+on:
+  pull_request_target:  # zizmor: ignore[dangerous-triggers]
+    branches:
+      - main
+
+permissions: {}
+
+jobs:
+  prompt-share:
+    uses: scitools/workflows/.github/workflows/ci-template-check.yml@28aea7a3a1eb58e1bbf9b1d9c8cb2de07892b67e
+    secrets:
+      AUTH_APP_ID: ${{ secrets.AUTH_APP_ID }}
+      AUTH_APP_PRIVATE_KEY: ${{ secrets.AUTH_APP_PRIVATE_KEY }}
+    with:
+      pr_number: ${{ github.event.pull_request.number }}

[^1]: Include this text in the PR body to avoid any prompts about applying your changes back to the template!
@scitools-templating: please no share prompt

Ngôn ngữ chính
Python
Star
729
Fork
327
Merge trung bình
3 ngày 21 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SciTools/iris

Tất cả issue của SciTools/iris

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.