diff --git a/.github/workflows/staging-mainnet-pipeline.yml b/.github/workflows/staging-mainnet-pipeline.yml index d04d7b4..3876520 100644 --- a/.github/workflows/staging-mainnet-pipeline.yml +++ b/.github/workflows/staging-mainnet-pipeline.yml @@ -113,7 +113,7 @@ jobs: app: ${{ env.APP }} - name: Staging undeploy - if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true + if: github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true uses: aeternity/ae-github-actions/argocd-undeploy@v5 with: url-prefix: pr-${{ env.PR_NUMBER }} diff --git a/.github/workflows/staging-testnet-pipeline.yml b/.github/workflows/staging-testnet-pipeline.yml index 0ba068d..5847ba7 100644 --- a/.github/workflows/staging-testnet-pipeline.yml +++ b/.github/workflows/staging-testnet-pipeline.yml @@ -113,7 +113,7 @@ jobs: app: ${{ env.APP }} - name: Staging undeploy - if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true + if: github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true uses: aeternity/ae-github-actions/argocd-undeploy@v5 with: url-prefix: pr-${{ env.PR_NUMBER }}