Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): add tag-version-commit workflow #22

Merged
merged 6 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]*)'