[PR #167] Fix PR refs not being persisted during GitHub CI squash workflow. #300

Closed
opened 2026-03-02 04:13:13 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/167

State: closed
Merged: Yes


While adding integration tests, I noticed that if we didn't explicitly fetch the refs into a local ref, they'd be lost during the CI.
This fix explicitly stores the PR refs fetched from GitHub in refs/github/pr/{}.

I've also added:

  • integration test
  • install_github_ci_workflow for installing github ci workflows into integration test repos
  • get_workflow_logs for fetching workflow logs for debugging integration tests
  • wait_for_workflows for waiting for GH actions to complete
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/167 **State:** closed **Merged:** Yes --- While adding integration tests, I noticed that if we didn't explicitly fetch the refs into a local ref, they'd be lost during the CI. This fix explicitly stores the PR refs fetched from GitHub in `refs/github/pr/{}`. I've also added: - integration test - `install_github_ci_workflow` for installing github ci workflows into integration test repos - `get_workflow_logs` for fetching workflow logs for debugging integration tests - `wait_for_workflows` for waiting for GH actions to complete
kerem 2026-03-02 04:13:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#300
No description provided.