Repository navigation
Open
Description
Ownership
Maintainer-owned automation task. This is not a Drips/Stellar Wave contributor issue.
- No points.
- Do not add
wave-candidateorStellar Wave. - Do not enable auto-merge or broaden workflow token permissions.
- Preserve CODEOWNERS and branch-ruleset enforcement.
Problem
The current .github/workflows/wave-pr-guard.yml requires every non-trusted PR author to link exactly one open Stellar Wave issue, have a Drips assignment, and satisfy contributor-specific PR-body requirements. Dependabot PRs cannot satisfy that workflow, so otherwise useful dependency and GitHub Actions update PRs fail the Contributor PR Guard.
Recent examples:
- StellarForge CLI chore(deps): bump the npm-minor-and-patch group across 1 directory with 5 updates #403 — npm dependency updates; CI, CodeQL, E2E and Dependency Review passed, but Contributor PR Guard failed.
- StellarForge CLI chore(deps): bump the github-actions-minor-and-patch group across 1 directory with 6 updates #404 — pinned GitHub Actions updates; CI, CodeQL, E2E and Dependency Review passed, but Contributor PR Guard failed.
Scope
Implement a narrow, explicit exception for dependabot[bot] that does not weaken contributor or protected-surface policy.
- Recognize only the exact Dependabot bot account; do not generalize to arbitrary bots or untrusted users.
- Allow only clearly classified dependency-update PRs:
- npm dependency updates limited to
package.jsonandpackage-lock.json; - GitHub Actions updates limited to approved
.github/workflows/**action-reference changes.
- npm dependency updates limited to
- Reject unrelated source, application, migration, generated-artifact, release-secret, or policy changes in bot PRs.
- Preserve open-PR overlap detection and ensure bot PRs cannot overlap conflicting protected work unnoticed.
- Do not require Drips issue assignment or a Stellar Wave closing reference for the narrowly permitted bot path.
- Preserve required CI, CodeQL, Dependency Review, E2E, and exact-head checks.
- Preserve CODEOWNERS review and branch-ruleset enforcement for package, lockfile, and workflow paths.
- Keep
pull_requestread-only; do not usepull_request_target, write credentials, auto-merge, or bypass required checks. - Add deterministic tests or a maintainable testable helper for allowed/denied bot path combinations.
Acceptance Criteria
- A Dependabot npm update limited to package files passes the contributor-specific guard while still requiring all normal checks and owner review.
- A Dependabot workflow update limited to approved action references passes the contributor-specific guard while still requiring exact-head owner review.
- Dependabot PRs changing application source, migrations, secrets, release workflows beyond approved action pins, or unrelated files fail closed.
- Ordinary contributors still require one valid open Stellar Wave issue, accepted assignment, dependency completion, and required PR sections.
- No write permissions or auto-merge capabilities are added to the guard.
- actionlint and the complete required CI pass on the exact PR head.
Evidence
- Current guard:
.github/workflows/wave-pr-guard.yml - Relevant current PRs: chore(deps): bump the npm-minor-and-patch group across 1 directory with 5 updates #403 and chore(deps): bump the github-actions-minor-and-patch group across 1 directory with 6 updates #404
- CODEOWNERS and
docs/contributing/repository-ruleset.mdremain authoritative for protected-path review.
Non-goals
- Activating Stellar Wave issues or assigning Drips points.
- Changing contributor eligibility or issue-intake limits.
- Enabling automatic merging or changing branch-protection bypass rights.
Metadata
Metadata
Assignees
Labels
No labels
Activity