Skip to content

add auto merge

add auto merge #1

Workflow file for this run

name: Merge main into dev
on:
push:
branches:
- main
jobs:
update-dev:
permissions: write-all
name: update-dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config user.name 'GitHub Actions'
git config user.email 'actions@users.noreply.github.com'
git checkout dev
git merge main
echo "Done with merge"
- name: Push to dev
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: dev