mirror of
https://github.com/workhardbekind/workout-challenge.git
synced 2026-07-04 09:23:32 -04:00
first commit
This commit is contained in:
commit
e7f627801f
152 changed files with 35352 additions and 0 deletions
27
.github/workflows/auto-merge.yml
vendored
Normal file
27
.github/workflows/auto-merge.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Auto-merge master/main back to dev branch
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
merge-master-back-to-dev:
|
||||
if: github.event.pull_request.merged == true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set Git config
|
||||
run: |
|
||||
git config --local user.email "actions@github.com"
|
||||
git config --local user.name "Github Actions"
|
||||
- name: Merge master back to dev
|
||||
run: |
|
||||
git fetch --unshallow
|
||||
git checkout dev
|
||||
git pull
|
||||
git merge --no-ff main -m "Auto-merge master/main branch back to dev"
|
||||
git push
|
||||
Loading…
Add table
Add a link
Reference in a new issue