Skip to content

[Sync] Update project files from source repository (58688f4) - #380

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261019-015013-58688f4
Oct 19, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261019-015013-58688f4

Conversation

@mrz1836

@mrz1836 mrz1836 commented Oct 19, 2026

Copy link
Copy Markdown
Member

What Changed

  • Added DEPENDABOT_AUTO_MERGE_PATCH_THIRD_PARTY = true (.github/env/20-workflows.env)
  • Reworked concurrency in the auto-merge-on-approval workflow. The workflow-level group is removed. The evaluate job now cancels older runs, and the apply job queues without cancelling so it can't be interrupted partway.
  • The evaluate job now has actions: read permission and checks that the trigger workflow's job actually ran. If the trigger's event gate skipped it, evaluation ends with a new skip-trigger-gated action and summary message.
  • The enable and disable steps are more tolerant of failure. Comment and label posting is best effort and no longer fails the run, and the enabled and disabled outcomes are now recorded right after the merge command succeeds.
  • Comments in the auto-merge trigger workflow and in the env file were updated to describe the new behavior. The .github/workflows/dependabot-auto-merge.yml workflow also changed, but its diff was trimmed, so no specifics are given here.

Why It Was Necessary

  • A workflow-wide cancel-in-progress group could cancel an apply run after it enabled auto-merge but before it posted its comment and labels. The App's own changes start new runs, which made that cancellation likely.
  • Comment-only reviews and similar events can't change the merge decision, so skipped trigger runs shouldn't cause evaluation work.
  • A failed comment or label call after auto-merge was already enabled shouldn't skip the remaining steps or mark the run as failed.

Testing Performed

  • No tests were run for this sync, and the diff includes no test changes.
  • The changes were reviewed against the diff only. Workflow behavior would be confirmed by the next PR review or Dependabot run that triggers these workflows.

Impact / Risk

  • Behavior change: Third-party patch updates now follow the new setting, which defaults to enabled. Setting it to false sends them to manual review. Major updates stay manual, and the merge guards and required status checks still apply.
  • Risk: Low to moderate. These are CI workflow changes only, with no application code affected. The apply job now queues instead of cancelling, so runs may wait on each other briefly.
  • Permissions: The evaluate job gains read-only actions access.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 01:50
@mrz1836 mrz1836 self-assigned this Oct 19, 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 19, 2026
@github-actions github-actions Bot added update General updates size/M Medium change (51-200 lines) labels Oct 19, 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

Concurrency races can suppress necessary evaluations or allow stale apply decisions to bypass required-check safeguards.

2 open issues
What changed in this PR

Updates shared CI workflows to expand Dependabot patch auto-merging and improve approval-driven auto-merge handling.

Changes:

  • Enables configurable auto-merging for third-party production patches by default.
  • Separates evaluation and apply concurrency, and checks trigger-job execution.
  • Makes comment and label updates best effort after merge operations.
File Description
.github/​workflows/​dependabot-auto-merge.yml Implements third-party patch policy and reporting.
.github/​workflows/​auto-merge-trigger.yml Updates comments describing trigger behavior.
.github/​workflows/​auto-merge-on-approval.yml Changes concurrency, trigger filtering, and outcome handling.
.github/​env/​20-workflows.env Adds the third-party patch setting and guidance.

Review effort: Balanced

@mrz1836
mrz1836 merged commit 13a6028 into master Oct 19, 2026
30 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261019-015013-58688f4 branch October 19, 2026 02: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/M Medium change (51-200 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants