Skip to content

Commit

Permalink
ci: add semantic release (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
iftahnaf authored Feb 28, 2024
1 parent 9440b36 commit cd3be4a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Semantic Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
concurrency: release
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.SEMANTIC_RELEASE_ACCESS_TOKEN }}

- name: Python Semantic Release
uses: python-semantic-release/python-semantic-release@master
with:
github_token: ${{ secrets.SEMANTIC_RELEASE_ACCESS_TOKEN }}

0 comments on commit cd3be4a

Please sign in to comment.