Skip to content

[Sync] Update project files from source repository (0395e22) - #396

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261103-134744-0395e22
Nov 3, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261103-134744-0395e22

Conversation

@mrz1836

@mrz1836 mrz1836 commented Nov 3, 2026

Copy link
Copy Markdown
Member

What Changed

  • Added RELEASE_RUNNER = `` (.github/env/00-core.env)
  • Added an optional release runner setting. fortress-setup-config.yml resolves it to RELEASE_RUNNER, or to the primary runner when unset, and exposes it as a new release-runner output. It rejects Windows runners and adds a "Release Runner" row to the config summary. fortress.yml now passes this value to the release workflow, and the input description in fortress-release.yml and the workflows.md docs were updated to match.
  • Extended the Dependabot auto-merge staleness check to cover retargeted PRs as well as moved heads. The step is renamed "Confirm the head and base before approving", and it reads the head SHA and base ref in one API call. The head-moved output is renamed stale, and the apply job's condition and related comments were updated to match.
  • Bumped the pinned github/codeql-action (init, autobuild, analyze, upload-sarif) from v4.39.1 to v4.39.2 (9b32540… to 1fc58d0…) in the CodeQL, security scan, and scorecard workflows.

Why It Was Necessary

  • Release builds sometimes need a different runner than regular CI, for example a macOS runner for cgo darwin binaries. A separate setting allows this without changing the primary runner for all jobs.
  • A retarget keeps the same head SHA, so the old head-only check let an approval from a stale analysis join the apply queue. GitHub keeps only the last pending job per group, so that approval could displace a newer revocation, such as one from a manual-no-metadata evaluation that skips analyze.
  • Keeping the pinned CodeQL action SHAs current keeps the workflows in sync with the upstream patch release.

Testing Performed

  • No tests were run for this sync; the diff was reviewed only.
  • The new runner logic can be exercised by leaving RELEASE_RUNNER empty, which should fall back to the primary runner, and by setting a macOS value on a v* tag release. A Windows value should fail fast in setup with an error.
  • The stale check can be exercised by retargeting an auto-merge PR, or pushing to it, during analysis. The approval should be skipped with a step summary note, and apply should re-check the head and base.

Impact / Risk

  • Low risk for existing setups: RELEASE_RUNNER defaults to empty, so releases keep using the primary runner unless it is set.
  • Setting RELEASE_RUNNER to a Windows runner now fails the setup job, since the release steps run in bash.
  • The Dependabot change only makes the auto-merge approval more conservative. Approvals for retargeted PRs are skipped, and revocations are unaffected.
  • The CodeQL action bump is a patch-level update with minimal regression risk.

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

🟢 Approval recommended

The CI workflow updates have no active review issues requiring resolution.

No open issues 🎉

What changed in this PR

This sync updates the repository’s CI workflows with independent release-runner selection, stronger Dependabot approval checks, and refreshed CodeQL action pins.

Changes:

  • Add optional RELEASE_RUNNER configuration with primary-runner fallback and Windows rejection.
  • Skip stale Dependabot approvals when either the PR head or target branch changes during analysis.
  • Update CodeQL action pins from v4.39.1 to v4.39.2.
File Description
.github/​workflows/​scorecard.yml Update the CodeQL SARIF upload action pin.
.github/​workflows/​fortress.yml Pass the resolved release runner to the release workflow.
.github/​workflows/​fortress-setup-config.yml Resolve, validate, expose, and summarize the release runner.
.github/​workflows/​fortress-security-scans.yml Update the CodeQL SARIF upload action pin.
.github/​workflows/​fortress-release.yml Clarify the release runner input description.
.github/​workflows/​dependabot-auto-merge.yml Check both head SHA and base branch before queuing approval.
.github/​workflows/​codeql-analysis.yml Update CodeQL initialization, autobuild, and analysis pins.
.github/​env/​00-core.env Add the optional RELEASE_RUNNER setting.
.github/​docs/​workflows.md Document separate runner selection for releases.

Review effort: Balanced

@mrz1836
mrz1836 merged commit 596331a into master Nov 3, 2026
40 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261103-134744-0395e22 branch November 3, 2026 13:53
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