feat(action): trust-check/codeowners - Verify actor in CODEOWNERS
@aRustyDev がすでに取り組んでいます。
2026年1月27日 から。
評価
この issue はまだ評価されていません。
説明
Parent Epic
Part of #22 (Atomic Release Pipeline Actions)
Priority
P2 - Trust validation for auto-merge workflows
Description
Create a composite action that verifies the workflow actor is listed in CODEOWNERS for relevant paths.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
actor |
No | github.actor |
GitHub username to verify |
paths |
No | - | Paths to check ownership for (comma-separated) |
codeowners-path |
No | .github/CODEOWNERS |
Path to CODEOWNERS file |
token |
No | github.token |
GitHub token |
Outputs
| Output | Description |
|---|---|
is-owner |
"true" if actor is a codeowner |
matched-pattern |
CODEOWNERS pattern that matched |
owners |
Comma-separated list of owners for the path |
Usage Example
- uses: arustydev/gha/actions/trust-check/codeowners@v1
id: codeowners
with:
actor: ${{ github.actor }}
paths: "charts/my-chart"
- if: steps.codeowners.outputs.is-owner == 'true'
run: echo "Actor is authorized"
Implementation Notes
- Parses CODEOWNERS file format
- Supports user, team, and email patterns
- Handles glob patterns in CODEOWNERS
- Checks team membership via API if team pattern
Source Reference
helm-charts/.github/workflows/auto-merge-integration.yaml:
- CODEOWNERS verification logic
- 主要言語
- Shell
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aRustyDev/gh のほかの issue
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 10/100
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
-
dependencies github-actions
難易度 1/5 1時間未満 初心者へのやさしさ 50/100
-
dependencies github-actions
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
-
dependencies github-actions
難易度 2/5 1〜3時間 初心者へのやさしさ 10/100
似ている issue
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
farcasterxyz/snapchain#1033 ·
-
Do not leave the distro Suricata service enabled after make install対応中かも @himanishpuri が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Ergane-Foundation/vajra#49 · コメント 2 件 ·
-
good first issue need help packaging
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
phonology024/babelscribe#23 ·
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
alunduil/alunduil-chezmoi#882 ·
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
oSoWoSo/vOid_Community_repOsitory#319 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信