Skip to content

Commit

Permalink
chore(actions): Set fetch-depth to 0 so rebase works
Browse files Browse the repository at this point in the history
  • Loading branch information
reemo3dp committed Apr 9, 2024
1 parent cb7d63f commit a946d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/rebase-main-ontop-upstream-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ jobs:
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Try rebase
run: |
set -euxo pipefail
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git rebase upstream-develop
git rebase origin/upstream-develop
git push origin HEAD:main --force-with-lease
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: upstream-develop
fetch-depth: 0
- name: Try rebase
run: |
set -euxo pipefail
Expand Down

0 comments on commit a946d8e

Please sign in to comment.