File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 1414 - name : Checkout repository
1515 uses : actions/checkout@v5
1616
17- - name : Set environment variables
18- run : |
19- GH_COMMIT_MESSAGE="$(head -n 1 <<< "${{github.event.head_commit.message}}")"
20- GIT_COMMIT_MESSAGE="$(git log --format=%B -n 1 ${{github.event.after}} | head -n 1)"
21- echo "COMMIT_MESSAGE=\"$(test "${GH_COMMIT_MESSAGE}" && echo "${GH_COMMIT_MESSAGE}" || echo "${GIT_COMMIT_MESSAGE}")\"" >> $GITHUB_ENV
22- echo "PR_TITLE=\"${{github.event.pull_request.title}}\"" >> $GITHUB_ENV
23-
2417 - name : Set up Node.js
2518 uses : actions/setup-node@v5
2619 with :
3730 - name : Release
3831 if : |
3932 github.event_name != 'pull_request' &&
40- !startsWith(env.COMMIT_MESSAGE || env.PR_TITLE , '" chore')
33+ !startsWith(github.event.head_commit.message , 'chore')
4134 env :
4235 GIT_AUTHOR_NAME : ffflobot
4336 GIT_AUTHOR_EMAIL :
[email protected]
You can’t perform that action at this time.
0 commit comments