-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: Allow auto-pr to include multiple changes #1365
base: main
Are you sure you want to change the base?
Conversation
I like this. What is the |
In the case of nothing to commit,
|
Other minor thoughts on this one:
Those might be more hassle than benefit to add |
What if instead of |
fe89bd2
to
101d07f
Compare
For updating PR body, let me see if there is a good way to find the associated PR. Edit: One way is just using the output of the PR action and editing it afterwards. |
Thanks! that is a better idea |
@ttshivers yeah, that's why I was thinking it might be more trouble that it's worth, since github already has the relationship from the comment on the closed PR in this repo. Alternately, that part could just be removed from the PR body in official images, but doesn't really matter |
Ah, there is an issue with this atm. The |
Looking at the docs (https://github.com/peter-evans/create-pull-request), I think a strategy like this might work:
Then in the action, specify |
101d07f
to
dabcb93
Compare
I think you might need to add
|
Also, running some tests for this action (with it pointing to different repos). I notice that it may be required to do:
instead of just doing it inline in the commit. See: https://github.com/ttshivers/docker-node/runs/1245462778?check_suite_focus=true#step:6:1 |
Using the However, we might just need to write our own logic to create / update the PR instead. |
Opened this as a draft since I noticed the auto-pr is creating a single commit and force pushing while the upstream PR is open.
I haven't tested this, so I'm opening as a draft for discussion. The idea would be to manually create the commits as described https://github.com/peter-evans/create-pull-request#controlling-commits and then just the let the action update/push the branch
/cc @ttshivers