Allow placing `actions.lock` in `.github` folder (not in workflows)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 42/100
Rechercherichtung
The lockfile path is resolved by the CLI extension written in Go; start from wherever workflows/actions.lock is referenced and how the lock file is located and read. Add .github/actions.lock as a fallback while keeping .github/workflows/actions.lock as the higher-priority path. Done when both locations resolve correctly and a test covers the priority order.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Background & Motivation
When pushing changes to .github/workflows, I want to automatically update and commit (create PR) actions.lock within CI using GITHUB_TOKEN. To make this possible, actions.lock needs to be supported in an alternative path outside of .github/workflows, as GITHUB_TOKEN is not allowed to write content in workflows folder.
Because standard lockfile updates (without --relock) are purely additive operations, I believe that allowing automated lockfile updates upon push (create PR) does not cause unintended modifications or regression hazards.
Proposed Changes
- Support
.github/actions.lock: Allowactions.lockto reside directly in the.github/directory as an alternative path. - Resolution Priority: Continue support for
.github/workflows/actions.lock. This allows user can specify the hash for the action that won't be changed by CI workflow.
- Vorherrschende Sprache
- Go
- Sterne
- 295
- Forks
- 21
- Ø Merge
- 1 T. 3 Std.
- Gemergte PRs (30 T.)
- 64
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus github/gh-actions-lock
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 58/100
github/gh-actions-lock#267 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
github/gh-actions-lock#266 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
github/gh-actions-lock#264 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Dependabot drops an unchanged transitive dependency when bumping a composite actionEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
github/gh-actions-lock#257 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
--migrate-local-actions rewrites action files in nested worktrees and submodulesEvtl. vergeben @aksestok hat das vor 2 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 20/100
github/gh-actions-lock#253 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in github/gh-actions-lock
Ähnliche Issues
-
Wayfinder sample agents don't reach the Data Plane on the quickstart packEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. OffenType/Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
thunder-id/thunderid#6402 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
TUM-Dev/Campus-Backend#678 ·
Maintainer antworten meist innerhalb von 1 Tag
-
fix(app): fail closed if GetGeneralSetting fails during initializationEvtl. vergeben @kalavt hat das heute übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
agent-ready area:dsl
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
jmbarzee/temporal-architect#407 ·
Maintainer antworten meist innerhalb von 1 Tag