Skip to content

chore(ci) add passed job (#846) #195

chore(ci) add passed job (#846)

chore(ci) add passed job (#846) #195

name: 'sync master with main'
on:
push:
branches:
- 'main'
jobs:
push-master:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push HEAD to master
# Deliberately not force-pushing: designed to fail if this would mean rewriting history
run: |
git push origin HEAD:master