Skip to content

Commit

Permalink
Merge pull request #5 from solisoft/conventional-commit
Browse files Browse the repository at this point in the history
Conventional commit
  • Loading branch information
solisoft authored Mar 8, 2024
2 parents ca6265e + 0c04261 commit 8101f56
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
name: Conventional Commits
name: Deploy

on:
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
name: Conventional Commits
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout Code
uses: actions/checkout@v4

- name: Get Next Version
id: semver
uses: ietf-tools/semver-action@v1
with:
token: ${{ github.token }}
branch: main

- uses: webiny/[email protected]
- name: Create Release
uses: ncipollo/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Optional, for private repositories.
allowed-commit-types: "feat,fix,chore,docs,perf,test" # Optional, set if you want a subset of commit types to be allowed.
allowUpdates: true
draft: false
makeLatest: true
name: ${{ steps.semver.outputs.next }}
body: Changelog Contents
token: ${{ github.token }}

0 comments on commit 8101f56

Please sign in to comment.