Skip to content

Commit

Permalink
ci: change pr closed triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
petarpeshev committed Nov 8, 2024
1 parent bf1d7cd commit 1c437cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/staging-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
app: ${{ env.APP }}

- name: Staging undeploy
if: github.event_name == 'pull_request' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v4
with:
url-prefix: pr-${{ env.PR_NUMBER }}
Expand Down

0 comments on commit 1c437cf

Please sign in to comment.