Skip to content

Sync Workflow

Sync Workflow #17

Workflow file for this run

name: Sync Workflow
on:
workflow_dispatch:
permissions: write-all
jobs:
sync:
name: Sync krkn-hub to the upstream repo
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Sync with GH CLI
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git remote add upstream https://github.com/krkn-chaos/krkn-hub.git
git fetch upstream
git checkout main
git rebase upstream/main
git push origin +main