Skip to content

Commit 5844700

Browse files
committed
tweaks
1 parent 88b0ecc commit 5844700

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8-
issue_comment:
9-
types: [created]
108

119
jobs:
1210
test:
1311
# skip "ci skip" unless a issue comment explictly asks
14-
if: "!contains(github.event.head_commit.message, 'ci skip') || (github.event.issue && startsWith(github.event.issue.comment.body, '/please_release'))"
12+
if: "!contains(github.event.head_commit.message, 'ci skip')"
1513

1614
strategy:
1715
matrix:
@@ -50,8 +48,7 @@ jobs:
5048
run: npm run test
5149

5250
- name: Release
53-
run: pnpx semantic-release --branches main
54-
if: "contains(github.event.head_commit.message, 'publish release') || github.event.issue"
51+
run: pnpx -y semantic-release --branches main
5552
env:
5653
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5754
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)