Skip to content

[Sync] Update project files from source repository (5f62683) - #190

Merged
mrz1836 merged 3 commits into
masterfrom
chore/sync-files-go-pre-commit-20261018-034240-5f62683
Oct 18, 2026
Merged

mrz1836 merged 3 commits into
masterfrom
chore/sync-files-go-pre-commit-20261018-034240-5f62683

Conversation

@mrz1836

@mrz1836 mrz1836 commented Oct 18, 2026

Copy link
Copy Markdown
Owner

What Changed

  • MAGE_X_VERSION: v1.29.1 → v1.29.3 (.github/env/10-mage-x.env)
  • MAGE_X_GOLANGCI_LINT_VERSION: v2.14.0 → v2.15.0 (.github/env/10-mage-x.env)
  • GO_PRE_COMMIT_GOLANGCI_LINT_VERSION: v2.14.0 → v2.15.0 (.github/env/10-pre-commit.env)
  • Added a new auto-merge-trigger.yml workflow with no permissions that hands off to the auto-merge-on-approval workflow on review submissions and PR state changes. The auto-merge-on-approval.yml and dependabot-auto-merge.yml workflows were also substantially reworked, and new docs (auto-merge-github-app.md, workflows.md) describe a GitHub App-based auto-merge setup.
  • Updated the devcontainer: the base image changed to mcr.microsoft.com/devcontainers/go:2-1-trixie, the mounts block was removed, and magex installation moved from postStartCommand to onCreateCommand. The go.lintTool setting in the devcontainer and VS Code settings is now golangci-lint-v2, and VS Code lint flags changed from --fast to --fast-only. .vscode/tasks.json was also simplified.
  • Housekeeping changes: .goreleaser.yml now sets prerelease: auto, and the goreleaser-action pin in the setup-goreleaser action moved to v7.3.0. SECURITY.md replaces the nancy reference with osv-scanner and switches to relative workflow links. CODEOWNERS dropped the .cursorrules entry, and the bug report and question issue templates gained a "do not include secrets" warning. Several doc and comment references were corrected.

Why It Was Necessary

  • Keeps the repository's shared CI, tooling, and documentation files consistent with the upstream source of truth.
  • Splitting auto-merge into a permission-less trigger plus a privileged evaluator keeps the GitHub App key out of workflows that run from a PR's own copy.
  • Fixes stale references, such as the nancy mention and the old release workflow path, and adds guidance to keep secrets out of public issues.

Testing Performed

  • Reviewed the diff to confirm that each change matches the intended synchronized content.
  • The updated workflows and configuration should be validated by CI on this PR. The auto-merge workflows depend on a GitHub App being set up, so they were not exercised end to end here.
  • The devcontainer's postCreateCommand (magex lint && magex vet && magex test) can be run in a rebuilt container to confirm the new image and onCreateCommand behave as expected.

Impact / Risk

  • Auto-merge behavior: The reworked auto-merge workflows are the highest-risk part. They need the GitHub App configured as described in the new docs, or auto-merge may not run as expected.
  • Developer experience: Rebuilding the devcontainer is needed to pick up the new base image and install order. Removing the Docker socket bind mount and Go build cache mount may change local behavior.
  • Release behavior: prerelease: auto lets GoReleaser decide prerelease status from the tag instead of always marking releases as non-prerelease.

@mrz1836 mrz1836 self-assigned this Oct 18, 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 18, 2026
@github-actions github-actions Bot added update General updates size/XL Very large change (>500 lines) labels Oct 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage Analysis

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

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

Changes: 19 config files

Coverage Metrics

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

Coverage Breakdown

█████████████░░ 90.9%

Resources


Generated via go-coverage • 2026-10-18 03:47:58 UTC

github-actions Bot added a commit that referenced this pull request Oct 18, 2026
🏷️ Generated with GoFortress
github-actions Bot added a commit that referenced this pull request Oct 18, 2026
🏷️ Generated with GoFortress
@mrz1836
mrz1836 merged commit cf3b488 into master Oct 18, 2026
21 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-pre-commit-20261018-034240-5f62683 branch October 18, 2026 04:01
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/XL Very large change (>500 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant