Skip to content

Commit

Permalink
Added workflow to automatically bump version in PRs labeled with depe…
Browse files Browse the repository at this point in the history
…ndencies
  • Loading branch information
mmontes11 committed May 12, 2024
1 parent cf81f2e commit 3e82e4b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Bump version

on:
pull_request:
types:
- closed
branches:
- main
jobs:
bump-version:
if: github.event.pull_request.merged && contains(github.event.pull_request.labels.*.name, 'dependencies')
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Bump version and push tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: minor

0 comments on commit 3e82e4b

Please sign in to comment.