name: Rebase on: workflow_dispatch: schedule: - cron: '0 0 * * *' jobs: rebase: name: Rebase and Push runs-on: ubuntu-latest steps: - name: Checkout Repo uses: actions/checkout@v4 with: fetch-depth: 0 ref: fork-release - name: Set Git Info run: | git config --global user.email admin@1stg.me git config --global user.name JounQin git remote add upstream https://github.com/wooorm/import-meta-resolve.git - name: Rebase and Push run: | git fetch upstream main:main git rebase upstream/main git push -f