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

Set up GitHub Action to automatically make a PR to develop when something is merged to master #2664

Closed
kgodey opened this issue Mar 9, 2023 · 18 comments · Fixed by #2795 or #2802
Closed
Labels
help wanted Community contributors can implement this ready Ready for implementation type: maintenance Refactoring and technical debt payoff work: other
Milestone

Comments

@kgodey
Copy link
Contributor

kgodey commented Mar 9, 2023

One idea is https://github.com/marketplace/actions/action-automerge, but it might not work because of our branch protections. We need an action that makes a PR instead of attempting to merge.

@kgodey kgodey added type: enhancement New feature or request status: triage labels Mar 9, 2023
@kgodey kgodey added this to the Backlog milestone Mar 9, 2023
@kgodey kgodey added help wanted Community contributors can implement this type: maintenance Refactoring and technical debt payoff work: other ready Ready for implementation and removed type: enhancement New feature or request status: triage labels Mar 9, 2023
@Vikrant-Khedkar
Copy link

Iam interested to work on this

@kgodey
Copy link
Contributor Author

kgodey commented Mar 9, 2023

Go ahead @Vikrant-Khedkar. You won't be able to test this on this repo (because of permissions), so I recommend creating a test repo and testing the action there first.

@Vikrant-Khedkar
Copy link

can you explain to me a little more like should I fork it and then do it there.

@kgodey
Copy link
Contributor Author

kgodey commented Mar 9, 2023

I would recommend testing on a brand new repo rather than a fork so any test commits you make don't end up in the commit history here. Any repo with a master and develop branch should work.

@Vikrant-Khedkar
Copy link

okay

@Vikrant-Khedkar
Copy link

image
Iam getting this error

@kgodey
Copy link
Contributor Author

kgodey commented Mar 10, 2023

@Vikrant-Khedkar Please link to whatever code is generating the error.

@HimanshuxD79
Copy link

I am interested to work on this issue

@Vikrant-Khedkar
Copy link

@Vikrant-Khedkar Please link to whatever code is generating the error.

Okay

@Vikrant-Khedkar
Copy link

@kgodey name: Create Pull Request

on:
push:
branches:
- master

jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: dev
commit-message: Automated Pull Request
title: Automated Pull Request
Footer

@kgodey
Copy link
Contributor Author

kgodey commented Mar 13, 2023

@Vikrant-Khedkar It looks like there's a new version of that action out, v4. https://github.com/peter-evans/create-pull-request. Please use that instead of v3.

@kgodey
Copy link
Contributor Author

kgodey commented Mar 13, 2023

@HimanshuxD79 this issue is assigned already.

@Anish9901
Copy link
Member

Unassigned due to a week of inactivity.

@rajatvijay
Copy link
Contributor

@HimanshuxD79 would you like to work on this now?

@geek0ps
Copy link

geek0ps commented Mar 27, 2023

Hi i would like to work on this issue

@kgodey
Copy link
Contributor Author

kgodey commented Mar 27, 2023

go ahead and submit a PR @AsyncDeveloper245

@PawanPatil19
Copy link
Contributor

PawanPatil19 commented Apr 8, 2023

Can i get this issue assigned to me? I would like to work on it

Edit: I have made a PR regarding the same. 👍 #2795

@kgodey
Copy link
Contributor Author

kgodey commented Apr 10, 2023

Resolved in #2801.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Community contributors can implement this ready Ready for implementation type: maintenance Refactoring and technical debt payoff work: other
Projects
No open projects
7 participants