Skip to content

Merge pull request #27 from criteo/bump-version #16

Merge pull request #27 from criteo/bump-version

Merge pull request #27 from criteo/bump-version #16

Workflow file for this run

name: Bump version
on:
push:
branches:
- master
jobs:
bump_version:
if: ${{ !contains(github.event.head_commit.message, '[Deploy]') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install bumpversion
run: pip install bumpversion
- name: Set git config
run: |
git config --local user.name "GitHub Action"
git config --local user.email "action@github.com"
- name: Increment version
run: bumpversion patch setup.py
- name: Create Pull Request with Versioning Tag
uses: peter-evans/create-pull-request@v3
with:
title: "[Deploy] Bump version for release"
branch: "bump-version"
base: "master"
labels: "versioning"