Feature request: allow selected action owners to be explicitly excluded from lockfile pinning
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 45/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 295
- フォーク
- 21
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 64
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/gh-actions-lock のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
github/gh-actions-lock#267 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
github/gh-actions-lock#266 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
github/gh-actions-lock#264 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 42/100
github/gh-actions-lock#262 ·
メンテナーはふだん 1 日以内に返信
-
Dependabot drops an unchanged transitive dependency when bumping a composite action対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
github/gh-actions-lock#257 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
github/gh-actions-lock の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
SAP/crossplane-provider-btp#1175 ·
メンテナーはふだん 1 日以内に返信
-
adk: stream concatenation errors bypass retry and failover対応中かも @OUAO-FRANK が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/osv-scalibr#2586 ·
メンテナーはふだん 2 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stacklok/toolhive-catalog#1890 ·
メンテナーはふだん 1 日以内に返信
-
heap: pushing an item that is already queued corrupts the index対応中かも @lbarrosby が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kubernetes-sigs/kwok#1800 ·
メンテナーはふだん 1 日以内に返信