[build] auto merge browser version updates if they pass all checks#16991
[build] auto merge browser version updates if they pass all checks#16991titusfortner merged 2 commits intotrunkfrom
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
There was a problem hiding this comment.
Pull request overview
Adds automation so the scheduled “Pin Browsers” workflow will enable auto-merge on the pinned-browser-updates PR (and delete the branch) once required checks pass, reducing manual maintenance for routine browser version bumps.
Changes:
- Capture the PR number when creating a new pinned-browser-updates PR (or reuse the existing PR number).
- Enable auto-merge for that PR and delete the branch after merge.
User description
These end up sitting out there. Shouldn't be any reason not to merge them if everything is passing.
💥 What does this PR do?
💡 Additional Considerations
Anything else we want to auto-commit? 😀
🔄 Types of changes
PR Type
Enhancement
Description
Auto-merge browser version update PRs after tests pass
Capture PR number from creation for merge operation
Delete branch automatically upon successful merge
Diagram Walkthrough
flowchart LR A["Check existing PR"] --> B{"PR exists?"} B -->|Yes| C["Use existing PR number"] B -->|No| D["Create new PR and capture number"] C --> E["Auto-merge PR with delete-branch"] D --> EFile Walkthrough
pin-browsers.yml
Add auto-merge logic for browser update PRs.github/workflows/pin-browsers.yml
operation
tests pass