Skip to content

Commit

Permalink
feat(build): add tag-version-commit workflow (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
eonu authored Dec 3, 2023
1 parent dd75d48 commit 42d345e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic Pull Request Titles
name: Enforce semantic PR titles

on:
pull_request_target:
Expand All @@ -23,13 +23,14 @@ jobs:
didn't match the configured pattern. Please ensure that the subject
doesn't start with an uppercase character.
types: |
build
chore
feat
fix
misc
refactor
release
scopes: |
build
ci
deps
docs
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/tag-version-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Tag version commits
on:
push:
branches:
- master
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: christophebedard/tag-version-commit@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
version_regex: 'release\(pkg\)\: (v[0-9]+\.[0-9]+\.[0-9]+[a-z0-9]*)'

0 comments on commit 42d345e

Please sign in to comment.