From 6399e5c63bd41eeb13a73d509b17120ec9b0be95 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 9 Dec 2021 08:11:36 +0530 Subject: chore: explicitly stage changed files (to check if 'recipes' gets updated during nightly build process) [skip ci] --- .github/workflows/dependency-updates.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index ec9cbafda..73a5bbb30 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -42,9 +42,13 @@ jobs: - name: Install node dependencies run: npm i - name: Update submodules - run: npm run update-submodules + run: | + npm run update-submodules + git add . - name: Update browserslist db - run: npx browserslist@latest --update-db + run: | + npx browserslist@latest --update-db + git add . - name: Run linter, reformatter, rebrander and tests run: | npm run prepare-code @@ -53,6 +57,6 @@ jobs: run: | git config user.name github-actions git config user.email github-actions@github.com - git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify || true + [[ -n $(git status -s) ]] && git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify - name: Push all changes run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify -- cgit v1.2.3-54-g00ecf