Skip to content

Rebase

Rebase #473

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@v3
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/import-js/eslint-plugin-import.git
- name: Rebase and Push
run: |
git fetch upstream main:main
git rebase upstream/main
git push -f