Skip to content

Add user config for automated merge #4

Add user config for automated merge

Add user config for automated merge #4

name: merge-main-into-small-image.yml
on:
pull_request:
branches:
- main
types:
- closed
jobs:
merge-main-into-small-image:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
timeout-minutes: 3
steps:
- uses: actions/checkout@v4
- name: Merge with main
run: |
git config user.name github-actions
git config user.email [email protected]
git fetch
git checkout small-image
git merge main --no-ff --no-edit
git push origin small-image