Skip to content

Move docs to main repo (#2583) #7

Move docs to main repo (#2583)

Move docs to main repo (#2583) #7

Workflow file for this run

name: Sync Github Folder
on:
push:
branches: ['1.20.1']
paths: ['.github/**']
jobs:
sync:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
with:
ref: '1.21'
- run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git switch -C gh/workflow-sync
git fetch origin
git checkout origin/1.20.1 -- .github
git commit -am "Sync Workflows"
git push --force --set-upstream origin gh/workflow-sync
gh pr create -B 1.21 -H gh/workflow-sync --title "Sync Workflows with 1.20.1" --body "Created by GH Workflow" --label "ignore changelog"