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

Aperta Adatta ai principianti
#274 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
76/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python, yaml
Ambito
ci-cd

Direzione di ricerca

Confronta .github/workflows/ci-template-check.yml con il diff fornito e il template condiviso collegato in templates/github/workflows/ci-template-check.yml. Inizia esaminando il workflow esistente e le modifiche proposte; controlla anche il diff completo del template per individuare altre convenzioni pertinenti. Il lavoro è concluso quando viene aperta una pull request con le modifiche appropriate oppure viene chiusa la issue se non è necessario apportare modifiche.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
16
Fork
6
Merge medio
2g 20h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SciTools/ncdata

Tutte le issue di SciTools/ncdata

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.