Skip to content

DM-51751: Add head value to GitHubPullRequestModel #413

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
merged 2 commits into from
Jul 10, 2025

Conversation

fajpunk
Copy link
Member

@fajpunk fajpunk commented Jul 9, 2025

Mobu CI is going to use pull_request events instead of check_suite and check_run events. It needs to check out the repo at a specific ref. The most specific ref in the pull_request event is the commit hash of the last commit to the head branch of the PR, available at .pull_request.head.sha.

Goes with this Mobu PR

@fajpunk fajpunk requested a review from jonathansick July 9, 2025 20:52
fajpunk added 2 commits July 9, 2025 20:48
Mobu CI is going to use [`pull_request` events](https://docs.github.com/en/webhooks/webhook-events-and-payloads#pull_request) instead of `check_suite` and `check_run` events. It needs to check out the repo at a specific ref. The most specific ref in the `pull_request` event is the commit hash of the last commit to the head branch of the PR, available at `.pull_request.head.sha`.
@fajpunk fajpunk force-pushed the tickets/DM-51751/github-pr-head branch from e9c4c68 to 5c319e3 Compare July 10, 2025 01:49
@fajpunk fajpunk merged commit fc82ea8 into main Jul 10, 2025
6 checks passed
@fajpunk fajpunk deleted the tickets/DM-51751/github-pr-head branch July 10, 2025 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants