Update bump-version-on-merge-next.yml (#1569)

* Update bump-version-on-merge-next.yml

Error: `The process '/usr/bin/git' failed with exit code 128`

Report and fix: https://github.com/peter-evans/create-pull-request/issues/690

* Rename job
This commit is contained in:
Taly 2021-02-26 13:51:18 +03:00 committed by GitHub
parent 8104585854
commit ae52d6116c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ on:
jobs:
# If pull request was merged then we should check for a package version update
check-version-changing:
check-for-no-version-changing:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
@ -40,7 +40,7 @@ jobs:
core.setFailed('Version was changed! ${{ steps.packageOld.outputs.version }} -> ${{ steps.packageNew.outputs.version }}')
bump-version:
needs: check-version-changing
needs: check-for-no-version-changing
runs-on: ubuntu-latest
steps:
# Checkout to target branch
@ -66,9 +66,10 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
commit-message: Bump version
committer: GitHub <noreply@github.com>
author: GitHub <noreply@github.com>
committer: github-actions <action@github.com>
author: github-actions <action@github.com>
branch: auto-bump-version
base: ${{ steps.vars.outputs.base_branch }}
delete-branch: true
title: "Bump version up to ${{ steps.package.outputs.version }}"
body: |