Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(action): trust-check/codeowners - Verify actor in CODEOWNERS

オープン
#40 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@aRustyDev がすでに取り組んでいます。

2026年1月27日 から。

評価

この issue はまだ評価されていません。

説明

enhancement new-action

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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aRustyDev/gh のほかの issue

aRustyDev/gh の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。