Merge pull request #36 from legendu-net/dclong-patch-1 #40
This file contains hidden or 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
name: Create Pull Request | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
create_pull_request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: main | |
- name: Reset main branch with dev changes | |
run: | | |
git fetch origin dev:dev | |
git reset --hard dev | |
- name: Create pull request from dev to main | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUBACTIONS }} | |
title: Merge dev into main | |
branch: dev | |
author: dclong <[email protected]> | |
assignees: dclong |