github / github/app

Changes are not appearing until after a PR is created

未关闭
#511 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Whenever changes are completed you are unable to view the changes unless you create a PR first

### Affected version or release

v0.2.12

### Installation context

_No response_

### What happened?

At a glance, this appears to be because it is assuming that the `master` branch is the correct branch for the diff. But this repository uses `main`, not `master`. It's failing on `git ["rev-parse", "master"]`. This was working until an update in the last few days.

Image

Once a PR is created, the changes appear.

### Steps to reproduce

1. Create a session on a repository using `main` as the default branch
2. Let the session make changes
3. Attempt to view the changes.

### Expected behavior

Changes should be displayed

### Additional context

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。