mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +02:00
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:
parent
8104585854
commit
ae52d6116c
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue