Skip to content

Commit

Permalink
ci: skip running on release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanChain committed Nov 28, 2024
1 parent 62205aa commit 946536f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
release:
name: ${{ startsWith(github.ref, 'refs/heads/') && 'Build' || 'Release' }}
runs-on: ubuntu-latest
if: |
startsWith(github.ref, 'refs/tags/') ||
github.event.head_commit.message != 'chore(publish)*'
env:
GITHUB_TOKEN: ${{ secrets.GitHub_TOKEN }}
steps:
Expand Down

0 comments on commit 946536f

Please sign in to comment.