ci: require approval from another maintainer before running release workflows
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start by reading the .github/workflows/release.yml, .github/workflows/publish-cli.yml and .github/workflows/publish-webui.yml workflows, then check the repository’s release process documentation and current publishing secrets. The issue is done when publishing waits for approval from a different maintainer, self-review is blocked, and publishing credentials are scoped to the protected environment.
索引モデルが issue の本文から書いたものです。
説明
Problem
The release workflows run automatically as soon as a v* tag is pushed:
release.ymlbuilds and pushes the server and web UI images toghcr.ioand creates the GitHub release.publish-cli.ymlandpublish-webui.ymlpublish theovsxCLI and the web UI library to the package registry.
None of the jobs use a GitHub environment, so nothing requires a second pair of eyes before artifacts are published. Anyone who can push a tag can trigger a release, and a compromised maintainer account or token would be enough to publish artifacts that downstream operators pull.
Proposal
Gate the publishing jobs behind a protected GitHub environment (for example release) that requires approval from a maintainer other than the one who triggered the run.
- Create a
releaseenvironment with required reviewers (the maintainers team) and "Prevent self-review" enabled. - Add
environment: releaseto the jobs that publish or push artifacts inrelease.yml,publish-cli.ymlandpublish-webui.yml. Build and prepare jobs can stay ungated. - Move any publishing credentials (registry tokens and similar) into environment secrets so they are only exposed after approval.
- Optionally restrict who can create
v*tags with a tag protection ruleset. - Document the approval step in the release process.
Acceptance criteria
- A pushed
v*tag does not publish anything until another maintainer approves the run. - The person who pushed the tag cannot approve their own release.
- Publishing secrets are scoped to the environment.
- 主要言語
- Java
- スター
- 2.1k
- フォーク
- 362
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 44
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-openvsx/openvsx のほかの issue
-
`ovsx verify` fails for a version older than the 100 newest of an extension対応中かも @trivikr が今日担当しました。 オープンcli
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
eclipse-openvsx/openvsx#2482 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eclipse-openvsx/openvsx#2469 ·
メンテナーはふだん 1 日以内に返信
-
cli
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
eclipse-openvsx/openvsx#2423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
eclipse-openvsx/openvsx#2476 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
eclipse-openvsx/openvsx#2439 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
eclipse-openvsx/openvsx の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Magic-team-jvav/confluence#281 ·
-
area/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
難易度 1/5 1時間未満 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespace対応中かも @Beehtrix が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cimug-org/CIMTool#427 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
userRaised
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-openj9/openj9#25285 ·
メンテナーはふだん 1 日以内に返信
-
Range type (eg Condition.onsetRange) fails IPS $summary + Observation.valueQuantity only render value in narrative対応中かも @xmhorsehead が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hapifhir/hapi-fhir#8952 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信