Skip to content

Commit

Permalink
enha: added workflow to generate automatically releases
Browse files Browse the repository at this point in the history
  • Loading branch information
kfc-manager committed Mar 19, 2024
1 parent bacbd9b commit 4c86347
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
workflow_run:
workflows: ["Test"]
types: [completed]
branches: ["main"]

permissions:
contents: write
pull-requests: read

jobs:
release:
runs-on: "ubuntu-latest"
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: minor
tag_prefix: v
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4c86347

Please sign in to comment.