Rebase #264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
token: ${{ secrets.GH_TOKEN }} | |
- 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/Automattic/node-canvas.git | |
- name: Rebase and Push | |
run: | | |
git fetch upstream master:master | |
git rebase upstream/master | |
git push -f |