From d8b0891f204395ebe75b57ded76b76df4f1d707a Mon Sep 17 00:00:00 2001 From: William Brawner Date: Fri, 23 Aug 2024 18:05:48 -0600 Subject: [PATCH] Fetch before rebase in pull_request workflow --- .forgejo/workflows/pull_request.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.forgejo/workflows/pull_request.yml b/.forgejo/workflows/pull_request.yml index aa968b2..95d5f69 100644 --- a/.forgejo/workflows/pull_request.yml +++ b/.forgejo/workflows/pull_request.yml @@ -9,6 +9,7 @@ jobs: name: Validate steps: - uses: actions/checkout@v4 + - run: git fetch --all - run: git rebase origin/main - name: set up JDK uses: https://git.wbrawner.com/actions/setup-java@v4 @@ -24,6 +25,7 @@ jobs: - validate steps: - uses: actions/checkout@v4 + - run: git fetch --all - run: git rebase origin/main - name: set up JDK uses: https://git.wbrawner.com/actions/setup-java@v4 @@ -50,6 +52,7 @@ jobs: - validate steps: - uses: actions/checkout@v4 + - run: git fetch --all - run: git rebase origin/main - name: set up JDK uses: https://git.wbrawner.com/actions/setup-java@v4