Fetch before rebase in pull_request workflow
This commit is contained in:
parent
0365d18ff7
commit
d8b0891f20
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ jobs:
|
||||||
name: Validate
|
name: Validate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: git fetch --all
|
||||||
- run: git rebase origin/main
|
- run: git rebase origin/main
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: https://git.wbrawner.com/actions/setup-java@v4
|
uses: https://git.wbrawner.com/actions/setup-java@v4
|
||||||
|
@ -24,6 +25,7 @@ jobs:
|
||||||
- validate
|
- validate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: git fetch --all
|
||||||
- run: git rebase origin/main
|
- run: git rebase origin/main
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: https://git.wbrawner.com/actions/setup-java@v4
|
uses: https://git.wbrawner.com/actions/setup-java@v4
|
||||||
|
@ -50,6 +52,7 @@ jobs:
|
||||||
- validate
|
- validate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- run: git fetch --all
|
||||||
- run: git rebase origin/main
|
- run: git rebase origin/main
|
||||||
- name: set up JDK
|
- name: set up JDK
|
||||||
uses: https://git.wbrawner.com/actions/setup-java@v4
|
uses: https://git.wbrawner.com/actions/setup-java@v4
|
||||||
|
|
Loading…
Reference in a new issue