diff options
Diffstat (limited to '.github/workflows/dependency-updates.yml')
-rw-r--r-- | .github/workflows/dependency-updates.yml | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index 460256e6a..eca47ee90 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -29,7 +29,6 @@ jobs: | |||
29 | - name: Extract Git branch name and commit from the currently checked out branch (not from the branch where this run was kicked off) | 29 | - name: Extract Git branch name and commit from the currently checked out branch (not from the branch where this run was kicked off) |
30 | run: | | 30 | run: | |
31 | echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 31 | echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
32 | echo "GIT_COMMIT=$(git log -1 --format='%H')" >> $GITHUB_ENV | ||
33 | shell: bash | 32 | shell: bash |
34 | - name: Cache node modules | 33 | - name: Cache node modules |
35 | uses: actions/cache@v2 | 34 | uses: actions/cache@v2 |
@@ -64,9 +63,5 @@ jobs: | |||
64 | git config user.name github-actions | 63 | git config user.name github-actions |
65 | git config user.email github-actions@github.com | 64 | git config user.email github-actions@github.com |
66 | 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 |
67 | echo "CHANGES_COUNT=$(git diff ${{ env.GIT_COMMIT }} | wc -l)" >> $GITHUB_ENV | ||
68 | - 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 | ||
69 | if: ${{ (github.event_name == 'schedule' && env.CHANGES_COUNT != '0') || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'version bump')) }} | ||
70 | run: npm version prerelease --preid=nightly | ||
71 | - name: Push all changes | 66 | - name: Push all changes |
72 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify | 67 | run: git push origin ${{ env.GIT_BRANCH_NAME }} --no-verify |