Agentic workflows for daily issue triage and weekly repo status fail on forks. We can skip them

Aperta
#14,404 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions
Ambito
ci-cd, devops

Direzione di ricerca

The failing runs are the daily-issue-triage and weekly-repo-status agentic workflows, whose compiled .lock.yml files are named in the issue. Start by finding their source definitions and the pre-flight check that compares ${{ github.repository }} with apache/cloudstack, then check whether the compiled lock files need regenerating. Done means a fork run exits cleanly with the skip message instead of failing and sending the failure email.

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

Descrizione

type:bug

Pre-flight Check (Stop on Forks)

  • CRITICAL: Before performing any triage steps, check if the current repository (${{ github.repository }}) matches apache/cloudstack.
  • If ${{ github.repository }} is not apache/cloudstack (meaning it is running on a user fork), stop immediately, output a message saying "Skipping triage on fork repository", and exit without taking any action or consuming tools.

You get sent out an annoying email every time this workflow fails

Seen failing here:

https://github.com/jbampton/cloudstack/actions/workflows/daily-issue-triage.lock.yml

https://github.com/jbampton/cloudstack/actions/workflows/weekly-repo-status.lock.yml

Image
Lingua principale
Java
Stelle
3.1k
Fork
1.4k
Merge medio
7g 16h
PR unite (30g)
15

Preparare l'ambiente

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 apache/cloudstack

Tutte le issue di apache/cloudstack

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.