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

オープン 初心者向け
#274 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, python, yaml
領域
ci-cd

調査の方向性

.github/workflows/ci-template-check.ymlを、提供されたdiffおよびリンク先の共有テンプレートtemplates/github/workflows/ci-template-check.ymlと比較してください。まず既存のworkflowと提案された変更を確認し、ほかに関連する規約がないか、テンプレート全体のdiffも確認してください。適切な変更を含むpull requestを作成するか、該当する変更がなければissueをクローズすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
16
フォーク
6
平均マージ
2日 20時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SciTools/ncdata のほかの issue

SciTools/ncdata の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。