From 51159dc3a2715b60633d043a873a93084f7fcdfa Mon Sep 17 00:00:00 2001 From: Zep Fietje Date: Thu, 16 Feb 2023 09:49:57 +0100 Subject: [PATCH] Fix committing changes in CI --- .github/workflows/fix-code-style.yml | 2 ++ .github/workflows/npm-build.yml | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/fix-code-style.yml b/.github/workflows/fix-code-style.yml index a22e7384c5..c6a67be8f0 100644 --- a/.github/workflows/fix-code-style.yml +++ b/.github/workflows/fix-code-style.yml @@ -20,6 +20,8 @@ jobs: run: composer pint - name: Run Prettier run: npm run prettier + - name: Pull changes + run: git pull - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: diff --git a/.github/workflows/npm-build.yml b/.github/workflows/npm-build.yml index 60c9b3b71a..b3c936e655 100644 --- a/.github/workflows/npm-build.yml +++ b/.github/workflows/npm-build.yml @@ -15,16 +15,14 @@ jobs: uses: actions/checkout@v2 with: ref: 2.x - - name: Setup Node uses: actions/setup-node@v2 - - name: Install dependencies run: npm ci - - name: Build assets run: npm run build - + - name: Pull changes + run: git pull - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4 with: