-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run checks on PR and bump version on merge AB#32464
- Loading branch information
1 parent
0ed5a1f
commit 96ef3a9
Showing
2 changed files
with
27 additions
and
28 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 'Bump version and push tag on merge to master' | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
bump-version: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Wait for previous workflow to complete | ||
uses: softprops/turnstyle@v2 | ||
with: | ||
abort-after-seconds: 1800 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Bump version and push tag | ||
uses: TriPSs/conventional-changelog-action@v6 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
git-message: 'chore(release): {version}' | ||
release-count: 10 |