-
Notifications
You must be signed in to change notification settings - Fork 89
Feat: Add Merge Group support #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+324
−9
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
82eeb9d
Feat: Add merge_group.checks_requested support
bramwelt 2ec8adf
Fix: add new fixture to REUSE.toml
bramwelt 1319657
Fix: tighten merge_group head_ref regex
bramwelt b4a9943
Fix: check all merge group commits, not just one PR
bramwelt d8d3982
Style: wrap long regex line for biome line width
bramwelt 86b65c6
Test: add 403 fallback test for merge_group
bramwelt 644c774
Fix: handle pulls.get failure in merge_group handler
bramwelt 99f984f
Fix: relax regex to handle refs/heads/ prefix in head_ref
bramwelt 0e10685
Fix: strip refs/heads/ from head_branch; clarify headSha
bramwelt 293e91a
Fix: update fixture to match real GitHub merge_group format
bramwelt 661e87e
Fix: only swallow 404/403 on merge_group PR lookup
bramwelt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| { | ||
| "action": "checks_requested", | ||
| "merge_group": { | ||
| "head_sha": "abc123def456abc123def456abc123def456abc1", | ||
| "head_ref": "refs/heads/gh-readonly-queue/master/pr-113-e76ed6025cec8879c75454a6efd6081d46de4c94", | ||
| "base_sha": "607c64cd8e37eb2db939f99a17bee5c7d1a90a31", | ||
| "base_ref": "refs/heads/master", | ||
| "head_commit": { | ||
| "id": "abc123def456abc123def456abc123def456abc1", | ||
| "tree_id": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef", | ||
| "message": "Merge pull request #113 into master", | ||
| "timestamp": "2017-09-22T23:21:03Z", | ||
| "author": { | ||
| "name": "GitHub", | ||
| "email": "noreply@github.com" | ||
| }, | ||
| "committer": { | ||
| "name": "GitHub", | ||
| "email": "noreply@github.com" | ||
| } | ||
| } | ||
| }, | ||
| "repository": { | ||
| "id": 68474533, | ||
| "name": "test", | ||
| "full_name": "robotland/test", | ||
| "owner": { | ||
| "login": "robotland", | ||
| "id": 11724939, | ||
| "avatar_url": "https://avatars2.githubusercontent.com/u/11724939?v=4", | ||
| "gravatar_id": "", | ||
| "url": "https://api.github.com/users/robotland", | ||
| "html_url": "https://github.com/robotland", | ||
| "type": "Organization", | ||
| "site_admin": false | ||
| }, | ||
| "private": false, | ||
| "html_url": "https://github.com/robotland/test", | ||
| "description": "a trainable robot that responds to activity on GitHub", | ||
| "fork": false, | ||
| "url": "https://api.github.com/repos/robotland/test", | ||
| "default_branch": "master" | ||
| }, | ||
| "organization": { | ||
| "login": "robotland", | ||
| "id": 11724939, | ||
| "url": "https://api.github.com/orgs/robotland" | ||
| }, | ||
| "sender": { | ||
| "login": "bkeepers", | ||
| "id": 173, | ||
| "avatar_url": "https://avatars0.githubusercontent.com/u/173?v=4", | ||
| "gravatar_id": "", | ||
| "url": "https://api.github.com/users/bkeepers", | ||
| "html_url": "https://github.com/bkeepers", | ||
| "type": "User", | ||
| "site_admin": true | ||
| }, | ||
| "installation": { | ||
| "id": 13055 | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.