name: Sync master into blog-content on: push: branches: - master permissions: contents: write jobs: merge-master-into-blog-content: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Configure git run: | git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - name: Checkout blog-content run: | git checkout blog-content git pull origin blog-content - name: Merge master into blog-content run: | git merge origin/master --no-edit - name: Push blog-content run: | git push origin blog-content