Skip to content

Commit 9efe3ac

Browse files
authored
Add run condition with PR
PR 제목, 내용에 포함되더라도 skip 가능하게 설정 skip deploy
1 parent e10ce23 commit 9efe3ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
build:
3131
name: Build Java Project
3232
runs-on: ubuntu-latest
33-
if: "!contains(github.event.head_commit.message, 'no-deploy')"
33+
if: |
34+
!contains(github.event.head_commit.message, 'skip deploy') &&
35+
!contains(github.event.pull_request.title, 'skip deploy') &&
36+
!contains(github.event.pull_request.body, 'skip deploy')
37+
3438
permissions:
3539
contents: read
3640
steps:

0 commit comments

Comments
 (0)