otclient-redemption/.github/workflows
Eduardo Dantas d2e7b0f049
ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#1803)
ci(vcpkg): keep baseline updates synchronized and auto-mergeable

Improve the vcpkg baseline updater so automated dependency PRs stay synchronized with main and can be queued for native GitHub auto-merge.

Main changes:
- Fetch full repository history before updating the baseline branch.
- Synchronize the updater branch with the latest origin/main before applying baseline changes.
- Rebase existing updater branches onto main.
- Create missing updater branches directly from origin/main.
- Use force-with-lease when refreshing bot-managed branches.
- Restrict existing PR lookup to open baseline PRs targeting main.
- Queue both existing and newly created baseline PRs for native GitHub squash auto-merge.
- Set a consistent squash commit subject and body for automated baseline merges.
- Validate PR numbers before attempting to enable auto-merge.
- Warn and leave the PR open when auto-merge cannot be queued.
- Continue triggering CI when the requested baseline is already present.
- Update CI path filters so changes to update_vcpkg_baseline.yml trigger Windows, macOS, Android, Docker, and browser validation.

Safety:
- The updater does not approve reviews.
- The updater does not bypass branch protection.
- Auto-merge remains subject to required reviews and status checks.
- Branch rewrites use force-with-lease instead of an unconditional force push.

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

This makes automated vcpkg baseline maintenance more reliable by preventing stale update branches and allowing GitHub to complete the merge once all repository requirements are satisfied.
2026-08-14 17:57:51 -03:00
..
ci.yml ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#1803) 2026-08-14 17:57:51 -03:00
clean-cache.yaml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
cron-stale.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
issue.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
pr-labeler.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
reusable-build-android-apk.yml ci: build apk android with github actions (#1715) 2026-05-12 20:47:00 -03:00
reusable-build-browser.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
reusable-build-docker.yml ci: gate Docker package publishing (#1724) 2026-05-20 19:01:25 -03:00
reusable-build-linux.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
reusable-build-macos.yml improve: add vcpkg triplets, test feature and presets (#1707) 2026-06-08 19:19:13 -03:00
reusable-build-windows.yml fix(cache): canonicalize manifest line endings (#1802) 2026-08-14 17:56:59 -03:00
reusable-checks.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
reusable-tests-lua.yml ci: rework build workflows and vcpkg baseline (#1703) 2026-05-01 19:42:53 -03:00
update_vcpkg_baseline.yml ci(vcpkg): keep baseline updates synchronized and auto-mergeable (#1803) 2026-08-14 17:57:51 -03:00