Skip to content

fix(ci): align skills updater merge contract with Privacy Guard - #31

Merged
bntvllnt merged 1 commit into
mainfrom
cursor/fix-updater-merge-contract-6641
Nov 23, 2026
Merged

bntvllnt merged 1 commit into
mainfrom
cursor/fix-updater-merge-contract-6641

Conversation

@bntvllnt

Copy link
Copy Markdown
Contributor

Summary

Scheduled runs of Update packaged skills stop with main protection differs from the reviewed merge contract. protection() still expects only validate from GitHub Actions app 15368. Current main protection also requires Privacy Guard from the same app. The check rollup on merged PR #30 marks those two checks required and leaves CodeQL and the Analyze jobs optional. checks_pass() also treated a lone validate success as enough to merge, so updating the contract alone would have let auto-merge proceed before Privacy Guard finished.

  • One reviewed set, REQUIRED_CHECKS, is used both to compare branch protection and to decide when auto-merge may proceed.
  • Auto-merge waits until every required check has completed successfully on the exact PR head. A missing, failed, skipped, cancelled, in-progress, wrong-app, or wrong-head required check leaves the PR open.
  • Optional checks do not gate the merge. The other protection terms stay as they are: strict checks, administrators enforced, zero required approving reviews, force pushes disabled, and deletions disabled. This PR does not change branch protection.

Tests

python3 -m unittest discover -s tests -v (40 tests) and python3 scripts/sync.py --check.

A hosted updater run after this merges is still required to show the schedule continues. This PR is not merged.

Open in Web Open in Cursor 

The reviewed contract only required validate, so scheduled runs stopped
once main also required Privacy Guard. Auto-merge now waits for both
GitHub Actions checks to succeed on the exact PR head.

Co-authored-by: bntvllnt <bntvllnt@users.noreply.github.com>
@bntvllnt
bntvllnt merged commit 3030b71 into main Nov 23, 2026
6 checks passed
@bntvllnt
bntvllnt deleted the cursor/fix-updater-merge-contract-6641 branch November 23, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant