diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 6c81409..8a42ad0 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -1,4 +1,4 @@ -name: Semantic Pull Request Titles +name: Enforce semantic PR titles on: pull_request_target: @@ -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 diff --git a/.github/workflows/tag-version-commit.yml b/.github/workflows/tag-version-commit.yml new file mode 100644 index 0000000..b61fc7c --- /dev/null +++ b/.github/workflows/tag-version-commit.yml @@ -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]*)'