mirror of
https://github.com/maputnik/editor.git
synced 2026-06-06 07:17:26 +00:00
c1c9934552
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: Create bump version PR
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: Version to change to.
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
bump-version-pr:
|
|
name: Bump version PR
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
with:
|
|
fetch-depth: 0
|
|
ref: main
|
|
|
|
- name: Use Node.js from nvmrc
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
|
|
- name: Bump version
|
|
run: |
|
|
npm version --commit-hooks false --git-tag-version false ${{ inputs.version }}
|
|
./build/bump-version-changelog.js ${{ inputs.version }}
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
with:
|
|
commit-message: Bump version to ${{ inputs.version }}
|
|
branch: bump-version-to-${{ inputs.version }}
|
|
title: Bump version to ${{ inputs.version }}
|