Skip to content

Merge branch 'master' of github.com:criteo/defcon #8

Merge branch 'master' of github.com:criteo/defcon

Merge branch 'master' of github.com:criteo/defcon #8

Workflow file for this run

name: Bump version
on:
push:
branches:
- master
jobs:
bump_version:
if: ${{ !contains(github.event.head_commit.message, 'Bump version') }}
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"