Keep PR is not possible to merge until success#253
Conversation
It observes other workflows' status and prevents unwilling merges.
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow that blocks pull request merges until all other checks have passed.
- Introduces a new “Merge Gatekeeper” workflow to enforce successful statuses on merges
- Configures minimal permissions to read checks and statuses
- Pins the merge-gatekeeper action to a specific commit
Comments suppressed due to low confidence (1)
.github/workflows/merge-gatekeeper.yml:13
- The runner label is case-sensitive; replace 'Ubuntu-Latest' with 'ubuntu-latest' to ensure GitHub Actions picks the correct runner.
runs-on: Ubuntu-Latest
|
Caution Review failedFailed to post review comments. Configuration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (5)
WalkthroughA new GitHub Actions workflow named "Merge Gatekeeper" has been introduced. It runs on pull request events, uses the Changes
✨ Finishing Touches🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
close #
✏️ Description
It observes other workflows' status and prevents unwilling merges.