Skip to content

[Sync] Update project files from source repository (6fe34e6) - #375

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261018-191248-6fe34e6
Oct 18, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261018-191248-6fe34e6

Conversation

@mrz1836

@mrz1836 mrz1836 commented Oct 18, 2026

Copy link
Copy Markdown
Member

What Changed

  • MAGE_X_VERSION: v1.29.0 → 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. It reacts to PR review submissions and dismissals and to PR ready_for_review and review_request_removed events. It hands off to the existing "Auto-merge on Approval" workflow, which was also modified (diff trimmed). Docs were added or updated to describe the GitHub App setup (auto-merge-github-app.md, workflows.md), and dependabot-auto-merge.yml was also modified (diff trimmed).
  • Updated the devcontainer: the image is now mcr.microsoft.com/devcontainers/go:2-1-trixie, the mounts block was removed, and the magex install moved from postStartCommand to onCreateCommand. The lint tool in the devcontainer and in .vscode/settings.json is now golangci-lint-v2. The .vscode lint flag changed from --fast to --fast-only, and .vscode/tasks.json was also modified (diff trimmed).
  • Smaller housekeeping edits:
    • .goreleaser.yml now sets prerelease: auto.
    • The .github/actions/setup-goreleaser step uses a newer goreleaser-action pin (v7.3.0).
    • CODEOWNERS no longer lists .cursorrules and now uses .github/actions/ instead of .github/actions/*.
    • The bug report and question issue templates gained a "do not include secrets" notice, and the bug template label changed to bug-P3.
    • Stale references in comments and docs were corrected (fortress-release.yml, and the fork job in pull-request-management.yml).
    • SECURITY.md and repository-features.md were also modified (diff trimmed).

Why It Was Necessary

  • Splitting auto-merge into a permission-less trigger and a default-branch evaluator keeps a PR from altering the privileged workflow that runs on its own review events.
  • The sync brings the repository's shared configuration, tooling, and docs in line with the upstream source, including fixing outdated file references and dev environment settings.
  • The issue template notices reduce the chance of people posting secrets in public issues.

Testing Performed

  • No tests were run for this sync. The changes are configuration, workflow, and documentation files.
  • The diff was reviewed to confirm the changes match the upstream source files.
  • The new and modified workflows will run in CI after merge. The trimmed workflow diffs could not be inspected in detail here.

Impact / Risk

  • Auto-merge behavior: Medium risk. The auto-merge flow now depends on the new trigger workflow and on GitHub App credentials, per the new docs. Without that setup, auto-merge may not work.
  • Developer experience: The devcontainer image and lint tool changed, so the container will need a rebuild. magex is now installed once at creation instead of on every start.
  • Releases: prerelease: auto lets GoReleaser decide prerelease status from the tag instead of forcing it off. Other changes are low risk, mostly template, comment, and doc edits.

Copilot AI balanced review requested due to automatic review settings October 18, 2026 19:13
@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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Auto-merge can retain or apply outdated approval eligibility, and intervening pushes may leave eligible PRs without reevaluation.

3 open issues
What changed in this PR

Syncs shared automation and development configuration, primarily moving auto-merge to isolated GitHub App-backed jobs.

Changes:

  • Splits auto-merge triggering, evaluation and application, with new merge guards and setup documentation.
  • Updates tooling versions, devcontainer configuration and VS Code tasks.
  • Refreshes release settings, issue templates and documentation.
File Description
.vscode/​tasks.json Updates test and benchmark tasks.
.vscode/​settings.json Configures golangci-lint v2.
.goreleaser.yml Detects prereleases automatically.
.github/​workflows/​dependabot-auto-merge.yml Separates analysis and App-backed actions; adds guards.
.github/​workflows/​auto-merge-trigger.yml Adds an unprivileged evaluation trigger.
.github/​workflows/​auto-merge-on-approval.yml Separates trusted evaluation and merge application.
.github/​tech-conventions/​pull-request-guidelines.md Corrects the release workflow reference.
.github/​SECURITY.md Updates scanner documentation and links.
.github/​ISSUE_TEMPLATE/​question.yml Adds a secrets warning.
.github/​ISSUE_TEMPLATE/​bug_report.yml Updates label, warning and environment prompt.
.github/​env/​20-workflows.env Corrects a workflow reference in a comment.
.github/​env/​10-pre-commit.env Updates the lint version.
.github/​env/​10-mage-x.env Updates tooling versions and comments.
.github/​docs/​workflows.md Documents the new auto-merge architecture.
.github/​docs/​repository-features.md Removes outdated feature references.
.github/​docs/​auto-merge-github-app.md Adds App setup and troubleshooting guidance.
.github/​CODEOWNERS Updates ownership patterns.
.github/​actions/​setup-goreleaser/​action.yml Updates the action pin.
.devcontainer.json Updates image, lint tool and installation timing.

Review effort: Balanced

@mrz1836
mrz1836 merged commit 5dfca70 into master Oct 18, 2026
24 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261018-191248-6fe34e6 branch October 18, 2026 19:29
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.

2 participants