Feature request: upgrade action versions and regenerate actions.lock

Aperta
#140 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
cli, devops, security

Direzione di ricerca

Start by reviewing PR #30 and the current distinction between --relock and updating YAML action references. Define the upgrade operation's scope for workflow and local composite-action references, including transitive lock entries, and consider how the YAML and actions.lock changes should be validated.

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

Descrizione

area:cli feature-request

Summary

Would it be possible to add a local upgrade operation that updates action version tags in YAML and regenerates actions.lock in one invocation?

Current behavior

--relock refreshes locked SHAs for existing mutable refs. It does not select newer version tags or update uses: references.

Upgrading to a newer version therefore requires updating the YAML references separately before regenerating the lockfile.

Expected behavior

An upgrade operation would:

  • Update action version references in workflows and local composite actions.
  • Keep readable version tags in YAML, with resolved commit SHAs in actions.lock.
  • Regenerate the affected lock entries, including the required transitive dependencies.

For example, upgrading actions/[email protected] to actions/[email protected] would update both the YAML reference and the corresponding lock entries.

Related context

PR #30 removed the previous update command during the transition to a detached lockfile and mentioned adding it separately.

Would a local upgrade operation still fit the intended scope of the project?

Lingua principale
Go
Stelle
253
Fork
15
Merge medio
19h 30m
PR unite (30g)
60

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 github/gh-actions-lock

Tutte le issue di github/gh-actions-lock

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.