Rebase Master #2
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 Master | |
on: workflow_dispatch | |
permissions: | |
contents: write | |
jobs: | |
rebase-master: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: master | |
fetch-depth: 8 | |
- name: Add upstream remote | |
run: git remote add upstream https://github.com/nestjs/nest.git | |
- name: Fetch upstream | |
run: git fetch upstream --shalow-since="1 week ago" | |
- name: Rebase master | |
run: git rebase upstream/master | |
- name: Push changes | |
run: git push origin master |