Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacato authored and bot committed Nov 30, 2021
1 parent 5424327 commit c00084f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ jobs:
run: |
for BRANCH in `git branch --list|sed 's/\*//g'`;
do
git fetch --all
git remote remove upstream
git checkout $BRANCH
git fetch --all
git pull --unshallow # this option is very important, you would get
# complains about unrelated histories without it.
# (but actions/checkout@v2 can also be instructed
# to fetch all git depth right from the start)
git remote add upstream https://github.com/torvalds/linux
git fetch --all
git fetch upstream master
git pull --rebase upstream master
git push -f origin $BRANCH
done

0 comments on commit c00084f

Please sign in to comment.