Skip to content

Commit

Permalink
build: restrict semantic-release actions to release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
huaichaow committed Jun 27, 2023
1 parent d772cdd commit 6fdf02e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# reference: https://semantic-release.gitbook.io/semantic-release/recipes/ci-configurations/github-actions

name: Release
on: [ workflow_dispatch ]
on:
workflow_dispatch:
branches:
- 'release/**'

permissions:
contents: read # for checkout
Expand Down

0 comments on commit 6fdf02e

Please sign in to comment.