diff --git a/.github/workflows/stg-pipeline-mainnet.yml b/.github/workflows/stg-pipeline-mainnet.yml index 23e269b2d..8eccef003 100644 --- a/.github/workflows/stg-pipeline-mainnet.yml +++ b/.github/workflows/stg-pipeline-mainnet.yml @@ -122,7 +122,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/stg-pipeline-testnet.yml b/.github/workflows/stg-pipeline-testnet.yml index 195eeca6f..60742b60d 100644 --- a/.github/workflows/stg-pipeline-testnet.yml +++ b/.github/workflows/stg-pipeline-testnet.yml @@ -119,7 +119,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 }} @@ -150,6 +150,7 @@ jobs: runs-on: ubuntu-22.04 name: E2E Tests timeout-minutes: 20 + if: github.event.action == 'opened' || github.event.action == 'synchronize' steps: - name: Check the PR deployment status before run E2E tests. uses: aeternity/ae-github-actions/deploy-status@v7.1.0