Skip to content

Commit 2720931

Browse files
committed
ci: add semantic release
1 parent 1e0ef7a commit 2720931

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Semantic Release
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
release:
11+
name: Release
12+
uses: bruzit/github-actions-and-workflows/.github/workflows/semantic-release.yaml@v0.2.0
13+
permissions:
14+
contents: write
15+
issues: write
16+
pull-requests: write
17+
with:
18+
GH_APP_ID: ${{ vars.GH_APP_ID }}
19+
secrets:
20+
GH_APP_PEM_FILE: ${{ secrets.GH_APP_PEM_FILE }}

.releaserc.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
branches:
3+
- main
4+
plugins:
5+
- - "@semantic-release/commit-analyzer"
6+
- preset: conventionalcommits
7+
- - "@semantic-release/release-notes-generator"
8+
- preset: conventionalcommits
9+
- "@semantic-release/github"
10+
- - "@semantic-release/changelog"
11+
- changelogTitle: '# Changelog'
12+
- - "@semantic-release/git"
13+
- assets:
14+
- CHANGELOG.md

0 commit comments

Comments
 (0)