Skip to content

Commit

Permalink
ci: add release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
TartanLeGrand committed Dec 16, 2024
1 parent 897239e commit 37509d4
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/conventional-commits-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Conventional Commits Check

on:
pull_request:
branches: [ master ]

jobs:
check-conventional-commits:
name: Conventional Commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Check Commit Conventions
uses: webiny/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release on tag
on:
push:
tags:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Please

on:
push:
branches:
- develop

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Release Please Action
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "v1.9.5"
}
4 changes: 4 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-v-in-tag": true
}

0 comments on commit 37509d4

Please sign in to comment.