feat(action): trust-check/codeowners - Verify actor in CODEOWNERS
@aRustyDev ci sta già lavorando.
Dal 27/1/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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
- Lingua principale
- Shell
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aRustyDev/gh
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 10/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 15/100
-
dependencies github-actions
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 50/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 20/100
-
dependencies github-actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 10/100
Tutte le issue di aRustyDev/gh
Issue simili
-
area: harness bug status: needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
fairagro/m4.2_sql_to_arc#227 ·