From 7086ce8610ec31eae09a2b4125e558dd76c04ddc Mon Sep 17 00:00:00 2001 From: Vijay A Date: Tue, 18 Oct 2022 07:11:15 +0530 Subject: Fix issue with scheduled nightly builds --- .github/workflows/builds.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e9f58c5c7..f6df0f86a 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -80,8 +80,9 @@ jobs: CHANGES_COUNT=$(git diff --shortstat origin/develop | wc -l) MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}" + # If there were any changes only in the submodules, then... if [ $CHANGES_COUNT -gt 0 ]; then - # If there were any changes only in the submodules, then... + git checkout develop echo "Update browserslist db" npx browserslist@latest --update-db @@ -93,8 +94,6 @@ jobs: npm run test echo "Commit dependency-updates and linter changes" - git config user.name github-actions - git config user.email github-actions@github.com git commit -am "Update browserslist data updates and linter fixes [skip ci]" --no-verify || true echo "Push all changes" -- cgit v1.2.3-54-g00ecf