-
Notifications
You must be signed in to change notification settings - Fork 41
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
Bug: PR creation fails without message #2445
Comments
@jasonkarns thanks for creating this issue! We have a known issue where if someone has created a PR for a repo in an org, the PR creation fails for the same repo name in a different org. It has to do with the fork of the repo that is created in the step-security-bot account. I have deleted the previous fork of .github in the step-security-bot account for now, so it should work for you. We will address the root cause of the issue in the future. |
@varunsh-coder ah, thanks! I can see that being problematic (especially considering the number of repos whose names are not optional. |
I think I'm having the same issue with my repository Edit: Indeed https://github.com/step-security-bot/configs is a fork of OpenAlly/configs. Edit2: I think to fix this bug step-security needs to fork to |
@pSub I have deleted https://github.com/step-security-bot/configs for now, and so you should be unblocked. We had tried to fork by specifying a different name and that was causing the fork process to be inconsistent. It would fail unexpectedly sometimes. We will try this again, may be the API has been improved since the last time we tried. |
@varunsh-coder Thank you. That unblocked me. 🤞 that the API has improved and this issue can be resolved! |
I was seeing this issue too, and I think I figured out why. @BillWagner and I were attempting to generate a PR for the With this theory in mind, I renamed my fork of the My proposal is to have the step-security-bot create a unique fork name, that includes the organization to help ensure that collisions like this are avoided. This is likely where you'd like to specify the fork name: secure-repo/Automate-PR/src/utils.ts Line 9 in d61982f
|
I'm an admin for https://github.com/quokka-astro/quokka and I'm seeing this same issue when trying to create a PR using https://app.stepsecurity.io/securerepo. This is the only repo I've tried running the tool on. Can you provide any assistance? |
I have used the analyze and PR creation flow a couple of times on other repos in the same org, so I believe I have authorized corrrectly.
However, I'm now getting errors trying to create PRs for another repo in the same org: nodenv/.github.
There is no error message in the UI. After clicking the Create Pull Request, I get the dialog for the PR subject/description. I click Create Pull Request button again from the dialog. It says "creation can take up to 30sec" (as it did before).
About 15 seconds later, I get an error without a message. And no PR is opened on the repo.
The text was updated successfully, but these errors were encountered: