Skip to content

[Sync] Update project files from source repository (cad9c92) - #392

Merged
mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261020-201455-cad9c92
Oct 20, 2026
Merged

mrz1836 merged 1 commit into
masterfrom
chore/sync-files-go-bitcoin-20261020-201455-cad9c92

Conversation

@mrz1836

@mrz1836 mrz1836 commented Oct 20, 2026

Copy link
Copy Markdown
Member

What Changed

  • GOVULNCHECK_GO_VERSION: 1.27.2 → 1.27.3 (.github/env/00-core.env)
  • Branch rules lookups in the auto-merge and Dependabot auto-merge workflows now read every page of results (100 per page) instead of only the first 30. The lookups use github.paginate in the script step and gh api --paginate piped through jq -s 'add // []' in the shell steps. The Dependabot workflow falls back to [] if the read fails.
  • The pull request management workflow now also triggers on synchronize, so "🔧 PR Management (Same Repo)" reports on every new head commit. On synchronize the label and default-assignee steps are skipped, and the step summary reports "None: new commits only".
  • synchronize runs of the same-repo job use their own concurrency group (-push suffix), so a push right after a PR opens does not cancel the run that labels it. Header comments in the workflow were updated to describe this.

Why It Was Necessary

  • Branch rules are returned 30 per page by default. A required-status-check rule on a later page would be missed, and the checks that depend on it would fail closed.
  • A check run belongs to a single commit. A ruleset requiring the PR management check would block any PR pushed to after it was opened, because the new head never received the check.
  • Skipping labels and assignee on synchronize keeps the earlier behavior: maintainers can override auto-applied labels without the workflow reapplying them on the next push.

Testing Performed

  • No test runs are shown in the diff; the changes are limited to workflow and env configuration.
  • Validation would come from workflow runs: a push to an open PR should produce the check on the new head with label and assignee steps skipped, and the rules lookups should return all rules.
  • The failure paths for the rules read are handled in the diff: pipefail makes a failed page fail the read, and the Dependabot guard falls back to [].

Impact / Risk

  • Risk is low and limited to CI behavior. Every push to a same-repo PR now starts an extra, short PR management run that does no labeling or assignment.
  • Rules lookups make additional API calls only when there is more than one page of rules. Failed reads still fail closed.
  • Fork PR handling is unchanged: its management job still fires only on opened, reopened, ready_for_review and closed. No breaking changes are expected.

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

No blocking findings remain in these narrowly scoped CI configuration changes.

No open issues 🎉

What changed in this PR

Updates shared CI configuration to retrieve all branch rules and report PR management checks on new commits.

Changes:

  • Paginates branch-rule lookups in both auto-merge workflows.
  • Adds isolated synchronize runs without reapplying labels or assignees.
  • Updates the vulnerability-scanning Go version pin.
File Description
.github/​workflows/​pull-request-management.yml Reports checks on pushes with separate concurrency and skips metadata updates.
.github/​workflows/​dependabot-auto-merge.yml Paginates rules with an empty-array fallback on failure.
.github/​workflows/​auto-merge-on-approval.yml Paginates script and shell branch-rule lookups.
.github/​env/​00-core.env Updates GOVULNCHECK_GO_VERSION to 1.27.3.

Review effort: Balanced

@mrz1836
mrz1836 merged commit 5afab17 into master Oct 20, 2026
40 checks passed
@github-actions
github-actions Bot deleted the chore/sync-files-go-bitcoin-20261020-201455-cad9c92 branch October 20, 2026 20:20
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