diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/dependency-updates.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index cd06b8392..eb1fb56f2 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -63,8 +63,9 @@ jobs: | |||
63 | git config user.name github-actions | 63 | git config user.name github-actions |
64 | git config user.email github-actions@github.com | 64 | git config user.email github-actions@github.com |
65 | git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify || true | 65 | git commit -am "Update submodules, browserslist data updates and linter fixes [skip ci]" --no-verify || true |
66 | - name: Bump version number if this is a scheduled build or has been manually triggered with 'version bump' in the text, then bump the version number | 66 | echo "CHANGES_COUNT=$(git diff --shortstat @{u} | wc -l)" |
67 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'version bump')) }} | 67 | - name: Bump version number if this is a scheduled build with changes or has been manually triggered with 'version bump' in the text, then bump the version number |
68 | if: ${{ (github.event_name == 'schedule' && env.CHANGES_COUNT != '0') || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'version bump')) }} | ||
68 | run: npm version prerelease --preid=nightly | 69 | run: npm version prerelease --preid=nightly |
69 | - name: Push all changes | 70 | - name: Push all changes |
70 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify | 71 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify |