Skip to content
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

Empty commit with [placeholder] title #122

Closed
WezSieTato opened this issue Sep 20, 2023 · 5 comments
Closed

Empty commit with [placeholder] title #122

WezSieTato opened this issue Sep 20, 2023 · 5 comments

Comments

@WezSieTato
Copy link

Hi.
I wanna use AutoPR to automate translations in my project. I followed with documentation and added proper workflow and secret.
Then I created a small issue with a plain description (I think :) ). AutoPR workflow ran and finished with success but no PR was created. The only output of this action was an empty commit with a "[placeholder]" title.

Link to labelled issue: WezSieTato/ScanNow#63

@irgolic
Copy link
Owner

irgolic commented Sep 23, 2023

Hey, sorry for the delay, I'm assuming you're trying to use the initial functionality of AutoPR (generating an pull request from an issue). Could you try replacing line 40 in your autopr.yml file?

From:

      uses: irgolic/AutoPR@main

to

      uses: docker://ghcr.io/irgolic/autopr:v0.1.2

@NiftyOctopus
Copy link

@irgolic Has this functionality (generating PR from issue) been depreciated permanently?

@irgolic
Copy link
Owner

irgolic commented Sep 25, 2023

Not permanently, but we're moving toward a configurable infrastructure for writing LLM-powered processes over your git repo. We're hitting some lower-hanging fruit first, and will be reimplementing generating PR from issues in a way that allows configuring different generation use cases.

To be honest, I wasn't expecting so many people to be using AutoPR's issue => PR generation, lots popped their heads out after I made the change to main. Is there something you found it better at than the alternatives (namely Sweep)?

@WezSieTato
Copy link
Author

Thanks, it helped :) It created one PR and now I have another problem connected with PR creation. I understood that creating issues connected with the old version (with issue->PR feature) doesn't make sense :D

For me, this feature is great for non-code issues like translations or content creation. I will check Sweep but I prefer solutions where I use my own API key for openai like this.

@irgolic
Copy link
Owner

irgolic commented Sep 28, 2023

Awesome, thanks for the insight. I'll keep your use case in mind, I think we should be able to support something like that in a more structured way quite soon.

irgolic added a commit that referenced this issue Nov 5, 2023
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

No branches or pull requests

3 participants