Skip to content

Merge

Merge #88

Workflow file for this run

name: Merge
on:
workflow_run:
workflows: ["Publish"]
types: [completed]
jobs:
Merge:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repositiory
uses: actions/checkout@v2
with:
token: ${{ secrets.MACHINE_PAT }}
fetch-depth: "0"
ref: "develop"
- name: Set Github credentials
run: |
git config user.name searchspring-machine
git config user.email [email protected]
- name: Merge main into develop branch
run: |
git merge -X theirs origin/main
git push