release/v1.2 Required Checks fails at startup: sbt/setup-sbt pin not on ASF actions allowlist

Aperta Adatta ai principianti
#6,989 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
85/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
github-actions
Ambito
ci-cd

Direzione di ricerca

Esamina i sei riferimenti a sbt/setup-sbt in .github/workflows/build.yml e .github/workflows/build-and-push-images.yml, confrontandoli con il pin allowlisted utilizzato su main. Aggiorna i sei pin di release/v1.2, quindi verifica che Required Checks si avvii correttamente e che gli stack di build/test condizionati dalle label vengano eseguiti per una PR release/v1.2.

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

Descrizione

What happened?

All CI on release/v1.2 is broken. The Required Checks workflow ends in startup_failure and never runs, so no build/test checks appear on v1.2 PRs and the label-based stack selection (precheck) never executes — which is why CI appears to "not trigger by label" on v1.2 PRs.

Root cause: release/v1.2 pins sbt/setup-sbt at a SHA that is not on the ASF GitHub Enterprise actions allowlist:

sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41  # v1.1.22

GitHub rejects the run while building the workflow graph:

The action sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 is not allowed in apache/texera because all actions must be from a repository owned by your enterprise, created by GitHub, or match one of the patterns: …

Expected: Required Checks starts and runs the label-gated build/test stacks on release/v1.2, same as on main.

main already uses the allowlisted version and its Required Checks is green:

sbt/setup-sbt@6444f4c8111de4b9059c3975def104b03cfaa5f0  # v1.5.2

(main reached v1.5.2 via #6710 / d28b761ae.)

Fix: bump the 6 sbt/setup-sbt pins on release/v1.2 from @508b753e… # v1.1.22 to @6444f4c8111de4b9059c3975def104b03cfaa5f0 # v1.5.2, in .github/workflows/build.yml (×3) and .github/workflows/build-and-push-images.yml (×3). This is a minimal targeted change rather than backporting the large github-actions group bump (#6187), which touches 15 actions across 17 files and conflicts heavily against v1.2.

Impact: all release/v1.2 CI is blocked, including backport PRs #6982 and #6984.

Follow-up: worth auditing the remaining action pins on release/v1.2 against the enterprise allowlist so the next run doesn't fail on a different disallowed action.

How to reproduce?
  1. Open or push to any PR targeting release/v1.2 (e.g. #6982, #6984), or push to release/v1.2.
  2. Observe the Required Checks workflow run ends in startup_failure with no jobs — e.g. https://github.com/apache/texera/actions/runs/30417060865
  3. The run banner reports the disallowed sbt/setup-sbt@508b753e… action.

Started 2026-07-28; release/v1.2 push CI was green through 2026-07-24.

Version/Branch

1.2.0-incubating (release/v1.2)

Commit Hash (Optional)

2bcb9aa7a (current release/v1.2 tip at time of filing)

Lingua principale
Scala
Stelle
316
Fork
189
Merge medio
2g 20h
PR unite (30g)
198

Guida per i contributori

Apri la guida per i contributori

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/texera

Tutte le issue di apache/texera

Issue simili

Altre issue su Scala

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.