canary/.github/workflows
Eduardo Dantas ce1356b01e
ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#4085)
Improve the vcpkg baseline update workflow so automated dependency PRs stay synchronized with main and can be handled by GitHub native auto-merge.

Main changes:
- Serialize scheduled and manual baseline updater runs with workflow concurrency.
- Fetch full history before updating the baseline branch.
- Synchronize the updater branch with the latest main before applying baseline changes.
- Rebase the existing updater branch on origin/main when it already exists.
- Create the updater branch from origin/main when it does not exist yet.
- Use force-with-lease for bot branch refreshes.
- Update vcpkg.json and vcpkg-configuration.json baseline fields together.
- Avoid creating empty commits when the branch already contains the target baseline.
- Look up existing baseline PRs by base and head branch.
- Queue GitHub native auto-merge after creating or updating the dependency PR.
- Validate PR numbers before attempting auto-merge.
- Report a warning when auto-merge cannot be queued, such as when repository auto-merge is disabled or branch protection still requires review.
- Update CI path filters so changes to update_vcpkg_baseline.yml trigger the relevant checks.

Safety:
- The updater does not approve reviews.
- The updater does not bypass branch protection.
- Native auto-merge remains controlled by the repository required reviews and status checks.
- If auto-merge cannot be enabled, the PR remains open for normal review.

Validation:
- actionlint passed for the workflow.
- YAML parsing passed.
- Extracted updater shell script passed bash -n.
- git diff --check passed.

This makes automated vcpkg baseline updates safer and less stale by keeping the update branch aligned with main, avoiding conflicting updater runs, and letting GitHub handle the final merge once required checks and reviews pass.
2026-08-14 12:56:43 -03:00
..
autofix-ci.yml build: pin vcpkg registry and developer tools (#4052) 2026-08-05 09:07:02 -03:00
ci.yml ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#4085) 2026-08-14 12:56:43 -03:00
clean-cache.yaml ci/cl: clear GitHub actions cache on PR closure (#1751) 2023-11-01 11:21:16 -03:00
copilot-issue-fix.yml fix: surface Copilot assignment token failures 2026-04-30 22:31:46 -03:00
cron-stale.yml fix(workflows): auto-close stale PRs after inactivity 2026-06-30 16:23:02 -03:00
deploy-neep.yml ci(deploy-neep): fetch fork PR heads via refs/pull/<N>/head (#3953) 2026-05-09 15:06:55 -03:00
issue-deduplicator.yml ci: reduce issue deduplicator false positives (#4000) 2026-06-08 13:04:51 -03:00
issue.yml chore: normalize YAML document headers (#4018) 2026-07-01 12:37:01 -03:00
mysql-schema-check.yml fix: update GitHub Actions to use versioned actions (#3792) 2026-01-09 03:16:03 -03:00
pr-labeler.yml fix: update GitHub Actions to use versioned actions (#3792) 2026-01-09 03:16:03 -03:00
release.yml ci(release): link exact client release (#4019) 2026-07-07 19:26:37 -03:00
repository-audit.yml feat(audit): add profile-aware content reference validation (#4031) 2026-07-13 20:47:00 -03:00
reusable-build-docker.yml ci(release): materialize tags before publishing (#4006) 2026-06-10 00:10:14 -03:00
reusable-build-linux.yml build: pin vcpkg registry and developer tools (#4052) 2026-08-05 09:07:02 -03:00
reusable-build-macos.yml build: pin vcpkg registry and developer tools (#4052) 2026-08-05 09:07:02 -03:00
reusable-build-windows.yml build: pin vcpkg registry and developer tools (#4052) 2026-08-05 09:07:02 -03:00
reusable-checks.yml build: pin vcpkg registry and developer tools (#4052) 2026-08-05 09:07:02 -03:00
reusable-docker-quickstart-smoke.yml feat: add release workflow and metadata tooling (#4004) 2026-06-09 19:50:24 -03:00
reusable-tests-lua.yml ci(release): materialize tags before publishing (#4006) 2026-06-10 00:10:14 -03:00
sync-release-tag.yml ci(release): materialize tags before publishing (#4006) 2026-06-10 00:10:14 -03:00
update_vcpkg_baseline.yml ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#4085) 2026-08-14 12:56:43 -03:00