Skip to content

[Sync] Update project files from source repository (33a1e7a) - #399

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261111-035629-33a1e7a
Nov 11, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261111-035629-33a1e7a

Conversation

@mrz1836

@mrz1836 mrz1836 commented Nov 11, 2026

Copy link
Copy Markdown
Member

What Changed

  • GOVULNCHECK_GO_VERSION: 1.27.3 → 1.27.4 (.github/env/00-core.env)
  • GO_PRE_COMMIT_VERSION: v1.13.1 → v1.14.1 (.github/env/10-pre-commit.env)
  • OSV_SCANNER_VERSION: v2.7.0 → v2.7.1 (.github/env/10-security.env)
  • OSV_SCANNER_SHA256_LINUX_AMD64: 160c6253e2922e9e0a6a9771c5c4c40a4b3c6090b34a3cdd5e80c96cc2e4218b → fb7dab19a8bd9bbe5c3189f09d4b7ee1820c9553a23bac202648a56efd2f6ee8 (.github/env/10-security.env)
  • OSV_SCANNER_SHA256_LINUX_ARM64: 4061ef4c021ed3c47f203b818f337e351336cc5cd67c0274fc36bd1dfc728dd7 → 983d22fbad9724514e3fcc6acc83b5fa64c5ffa6b0d9f510028f22c1b223ff81 (.github/env/10-security.env)
  • MAGE_X_VERSION: v1.29.4 → v1.30.2 (.github/env/10-mage-x.env)
  • MAGE_X_GORELEASER_VERSION: v2.19.0 → v2.20.1 (.github/env/10-mage-x.env)
  • MAGE_X_OSV_SCANNER_VERSION: v2.7.0 → v2.7.1 (.github/env/10-mage-x.env)
  • load-env now builds its env-json output only from variables defined in the .github/env/*.env files, and skips 99-local.env in CI. Before, it dumped every uppercase variable in the runner environment (HOME, PATH, RUNNER_*, GITHUB_*).
  • auto-merge-trigger.yml now skips the "Queue auto-merge evaluation" job for PRs authored by bots, using a user.type != 'Bot' check and a [bot] login suffix check. The comments say the evaluator already ends bot PRs at skip-bot, and that Dependabot PRs are handled by Dependabot Auto-merge.
  • The comments for AUTO_MERGE_SKIP_BOT_PRS in 20-workflows.env now say that setting it to false requires removing the bot conditions from the trigger job.
  • dependabot-auto-merge.yml has a larger modification (+68/-43). Its diff was trimmed, so no details are given here.
  • The skip-trigger-gated troubleshooting row in the auto-merge GitHub App doc now describes the case where the PR is on a dependabot… branch but Dependabot didn't open it. It also says that other events on Dependabot's own PRs skip the whole trigger run.

Why It Was Necessary

  • The previous env-json export leaked runner-specific variables into the output. Jobs that load it can run on a different runner or OS, so those values could be wrong there.
  • Label, review-request and App approval or arming events on Dependabot PRs started three runners that all found nothing to do. Filtering bot PRs in the trigger job avoids those runs.
  • The documentation needed to match the updated trigger and verify behavior.

Testing Performed

  • Not run as part of this sync. The changes are workflow, action and env file updates that are checked when CI runs.
  • Reviewers should check that the env-json output contains only the variables defined in the env files, and that 99-local.env is excluded when CI=true.
  • Reviewers should also confirm that label, review and approval events on Dependabot and other bot PRs no longer start the trigger job, and that human-authored same-repo PRs still do.

Impact / Risk

  • Behavior change: env-json no longer includes runner variables. Any downstream job that read runner variables such as HOME or PATH from it will no longer find them.
  • Configuration coupling: The trigger job's bot filter assumes AUTO_MERGE_SKIP_BOT_PRS=true. A repository that sets it to false must remove the bot conditions from that job.
  • Risk: Low to moderate. The tool and scanner bumps apply to CI, and the workflow condition changes affect which runs start. The OSV-Scanner checksums were updated together with its version.

@mrz1836 mrz1836 self-assigned this Nov 11, 2026
Copilot AI balanced review requested due to automatic review settings November 11, 2026 03:56
@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 Nov 11, 2026
@github-actions github-actions Bot added update General updates size/M Medium change (51-200 lines) labels Nov 11, 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.

🔵 Needs a closer look

Privileged approval/revocation changes rely on GitHub Actions queue ordering and head/base races that still require integration validation, including API-failure and bot-event suppression scenarios.

No open issues 🎉

What changed in this PR

Syncs shared CI configuration and automation updates into this repository, limiting environment exports and tightening auto-merge handling.

Changes:

  • Restricts env-json to settings defined in env files, excluding 99-local.env in CI.
  • Skips bot PRs in the general auto-merge trigger and tightens Dependabot approval handling for stale or unconfirmed evaluations.
  • Updates CI tool versions, scanner checksums, and related documentation.
File Description
.github/​workflows/​dependabot-auto-merge.yml Tightens stale-evaluation checks and conditions for preserving approvals.
.github/​workflows/​auto-merge-trigger.yml Filters bot-authored PRs from general auto-merge evaluation.
.github/​env/​20-workflows.env Documents the coupling between bot filtering and its configuration flag.
.github/​env/​10-security.env Updates OSV-Scanner and its platform checksums.
.github/​env/​10-pre-commit.env Updates go-pre-commit.
.github/​env/​10-mage-x.env Updates MAGE-X, GoReleaser, and the OSV-Scanner parity pin.
.github/​env/​00-core.env Updates the Go version used for govulncheck.
.github/​docs/​auto-merge-github-app.md Clarifies trigger-gating troubleshooting for Dependabot PRs.
.github/​actions/​load-env/​action.yml Limits JSON exports to env-file settings and excludes local overrides in CI.

Review effort: Balanced

@mrz1836
mrz1836 merged commit fc50256 into master Nov 11, 2026
40 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261111-035629-33a1e7a branch November 11, 2026 04:04
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.

2 participants