Create PR with bump patch version #429
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create PR with bump patch version | |
# Perform workflow based on human approval | |
on: | |
- workflow_dispatch | |
jobs: | |
build: | |
name: Bump version (patch) and create PR. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Bump version (patch) | |
run: docker compose -f docker-compose-ci.yml run bump_version_patch | |
- name: Create PR with changes | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.CLIENT_REBUILD_TOKEN_GITHUB }} | |
commit-message: Bump version (patch) | |
committer: GitHub <[email protected]> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: false | |
base: master | |
branch: auto-version-update-patch | |
delete-branch: true | |
title: 'Bump version (patch)' | |
body: | | |
Action to bump version (patch) was triggered. Check changes and approve accordingly. | |
labels: | | |
Bump version (patch) | |
Automated PR | |
reviewers: lune-eng | |
draft: false |