Skip to content

Commit

Permalink
fix/pipeline: fix pr close image tag condition
Browse files Browse the repository at this point in the history
  • Loading branch information
catherine meng authored and catherine meng committed Aug 31, 2022
1 parent eb08623 commit ea7283b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
environment:
name: test
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
if: github.event.pull_request.merged == true && (github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'dev')
steps:
- name: Check for image changes
id: check
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
environment:
name: test
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
if: github.event.pull_request.merged == true && (github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'dev')
steps:
- name: Check for image changes
id: check
Expand Down

0 comments on commit ea7283b

Please sign in to comment.