Feature request: allow selected action owners to be explicitly excluded from lockfile pinning
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
- 45/100
Direzione di ricerca
Start by tracing how gh actions-lock resolves workflow refs, reports findings such as self-repository-action, and verifies lockfile entries; then inspect runtime enforcement and lockfile parsing. The issue names no source files or tests, so locate those entry points first. Done means exclusions are recorded with reasons in the lockfile, reported during resolution, and treated as compliant by verification and enforcement only when listed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Our workflows mix public GitHub-maintained actions with internal actions published by our own organization, e.g.:
steps:
- uses: actions/checkout@v7
- uses: internal-action/build-image@v1
We want SHA-locked integrity for third-party/public actions (actions/*), but our internal actions are deliberately consumed via a floating major tag (@v1). They are released frequently under our own access controls and review process, and we want consumers to pick up patch releases without a lockfile change for every internal release.
Today gh actions-lock has no way to exclude specific actions or owners. Because enforcement requires every dependency of an onboarded workflow to be present in actions.lock, our only options are:
- Lock internal actions too and run
--relockconstantly (heavy churn for every internal release), or - Leave the whole workflow un-onboarded, losing protection for the public actions as well.
Neither is a good fit. Option 2 in particular pushes teams to skip locking entirely.
Proposal
Support an explicit, auditable exclusion recorded in the lockfile itself (not only as a CLI flag), so the runtime can tell "intentionally unlocked" apart from "missing":
# .github/workflows/actions.lock
unlocked:
- owner: internal-action # or a pattern like 'my-org/*'
reason: 'Internal actions, governed by org release process'
Suggested behavior:
gh actions-lockskips resolution for matching refs and reports them as an informational finding (similar toself-repository-action), never silently.--verify/--verify-localtreat matching refs as compliant only if they are listed underunlocked.- Runtime enforcement accepts listed refs unpinned and still requires everything else to be locked.
- Optionally, restrict eligible owners (e.g. same owner/org as the repository, or an org-level policy) so this can't be used to unlock arbitrary third-party actions.
- Lingua principale
- Go
- Stelle
- 253
- Fork
- 15
- Merge medio
- 19h 30m
- PR unite (30g)
- 60
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/gh-actions-lock
-
Fix mode unpins a reusable workflow call when the same repository is also used as a step actionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/gh-actions-lock#261 ·
I maintainer di solito rispondono entro 1 giorno
-
Dependabot drops an unchanged transitive dependency when bumping a composite actionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
github/gh-actions-lock#257 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
--migrate-local-actions rewrites action files in nested worktrees and submodulesForse già presa @aksestok l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
github/gh-actions-lock#253 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
github/gh-actions-lock#252 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
github/gh-actions-lock#247 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di github/gh-actions-lock
Issue simili
-
CLI: `describe <ns>.<table>` reports "namespace does not exist" when only the table is missingForse già presa @Shruthirdy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/iceberg-go#2423 ·
I maintainer di solito rispondono entro 2 giorni
-
post-v4
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
rishikanthc/Scriberr#506 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
microsoft/TypeScript#65290 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] rollingUpdatePartition panics when live StatefulSet replicas sit far below the desired countAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sgl-project/rbg#547 ·
I maintainer di solito rispondono entro 1 giorno