-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge version bump from main back to dev
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Release Helper | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
sync_dev: | ||
needs: correct_repository | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: dev | ||
ssh-key: ${{ secrets.CMU_DELPHI_DEPLOY_MACHINE_SSH }} | ||
- name: Reset dev branch | ||
run: | | ||
git fetch origin main:main | ||
git reset --hard main | ||
- name: Create pull request into dev | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
branch: bot/sync-main-dev | ||
commit-message: "chore: sync main-dev" | ||
base: dev | ||
title: "chore: sync main->dev" | ||
labels: chore | ||
body: | | ||
Syncing Main->Dev. |