Skip to content

Commit

Permalink
💚 Ci: PR 머지시점에 액션 1개만 돌도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
swa07016 committed Dec 14, 2023
1 parent c855efe commit 59808ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest # (3).OS환경
if: (github.event_name == 'push' && github.ref == 'refs/heads/develop') || (github.event.pull_request && github.event.pull_request.merged == true)
if: (github.event_name == 'push' && github.ref == 'refs/heads/develop') || (github.event.pull_request && github.event.pull_request.merged == true && github.base_ref == 'develop')

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest # (3).OS환경
if: (github.event_name == 'push' && github.ref == 'refs/heads/release') || (github.event.pull_request && github.event.pull_request.merged == true)
if: (github.event_name == 'push' && github.ref == 'refs/heads/release') || (github.event.pull_request && github.event.pull_request.merged == true && github.base_ref == 'release')


steps:
Expand Down

0 comments on commit 59808ce

Please sign in to comment.