diff --git a/.github/workflows/javascript-format-build.yml b/.github/workflows/javascript-format-build.yml index 22fa2437b..dfe9367fe 100644 --- a/.github/workflows/javascript-format-build.yml +++ b/.github/workflows/javascript-format-build.yml @@ -155,6 +155,11 @@ jobs: - name: Bundle web app (next.js build) run: build/web/bundleWeb.sh + - name: Rebase + if: ${{ github.ref == 'refs/heads/develop' }} + run: | + git pull --rebase --autostash + # Only commit built web project files on develop. - name: Commit changes if: ${{ github.ref == 'refs/heads/develop' }}