Skip to content

[Sync] Update project files from source repository (62f6f26) - #186

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-pre-commit-20261009-021007-62f6f26
Oct 9, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-pre-commit-20261009-021007-62f6f26

Conversation

@mrz1836

@mrz1836 mrz1836 commented Oct 9, 2026

Copy link
Copy Markdown
Owner

What Changed

  • GO_PRE_COMMIT_VERSION: v1.11.0 → v1.13.0 (.github/env/10-pre-commit.env)

  • Added DEPENDABOT_AUTO_MERGE_PATCH_SAME_OWNER = true (.github/env/20-workflows.env)

  • MAGE_X_VERSION: v1.27.4 → v1.28.0 (.github/env/10-mage-x.env)

  • GOVULNCHECK_GO_VERSION: 1.27.1 → 1.27.2 (.github/env/00-core.env)

  • Enhanced Dependabot auto-merge workflow to support same-owner dependency detection, allowing automatic merge of patch updates for direct production dependencies when all updated dependencies are owned by the repository's GitHub owner

  • Added new workflow step that verifies dependency ownership by parsing package names (supports go_modules and github_actions ecosystems), extracting the owner, and confirming via GitHub API that repositories are currently under the same owner

  • Updated workflow documentation to clarify that third-party production patch updates still require manual review while first-party patches can auto-merge when the new configuration is enabled

Why It Was Necessary

  • Enables safer automation of first-party dependency updates while maintaining manual review gates for third-party production dependencies
  • Provides a fail-closed ownership verification system that prevents auto-merge when dependency ownership cannot be confirmed or has been transferred to another organization
  • Reduces manual review overhead for internal module updates while preserving security controls for external dependencies

Testing Performed

  • Workflow changes include comprehensive ownership verification logic with input validation for repository owner format, dependency names, and ecosystem compatibility
  • Implementation includes error handling for unparseable dependencies, unsupported ecosystems, and API failures when verifying repository ownership
  • Logic validates that all dependencies in grouped PRs match the owner requirement (single third-party dependency in a group blocks auto-merge)

Impact / Risk

  • Low risk - new feature is opt-in via configuration flag and fails closed (defaults to requiring manual review) when ownership cannot be verified
  • No breaking changes to existing auto-merge behavior; existing rules for patch updates remain unchanged unless the new configuration is explicitly enabled
  • Workflow requires GITHUB_TOKEN access to verify repository ownership via GitHub API, which may fail for private repositories outside the token's scope (fails closed to manual review)

@mrz1836 mrz1836 self-assigned this Oct 9, 2026
@mrz1836 mrz1836 added automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps labels Oct 9, 2026
@github-actions github-actions Bot added update General updates size/M Medium change (51-200 lines) labels Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Analysis

🟢 Overall Coverage: 92.0%
No Go files modified in this PR

Project coverage remains at 92.0% (3.3K/3.6K statements)

Changes: 5 config files

Coverage Metrics

Metric Value Grade Trend
Percentage 92.0% 🏆 A 📊
Statements 3.3K/3.6K 🏆 A No change
Quality Score 92/100 🏆 A 📈

Coverage Breakdown

█████████████░░ 92.0%

Resources


Generated via go-coverage • 2026-10-09 02:15:27 UTC

github-actions Bot added a commit that referenced this pull request Oct 9, 2026
🏷️ Generated with GoFortress
@mrz1836
mrz1836 merged commit 8d8dc73 into master Oct 9, 2026
25 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-pre-commit-20261009-021007-62f6f26 branch October 9, 2026 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps size/M Medium change (51-200 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant