|
37 | 37 | id: required |
38 | 38 | run: WASM_BUILD_NO_COLOR=1 forklift cargo test -p staging-node-cli --release --locked -- --ignored |
39 | 39 | - name: Stop all workflows if failed |
40 | | - if: ${{ failure() && steps.required.conclusion == 'failure' }} |
| 40 | + if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }} |
41 | 41 | uses: ./.github/actions/workflow-stopper |
42 | 42 | with: |
43 | 43 | app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }} |
|
63 | 63 | id: required |
64 | 64 | run: forklift cargo nextest run --workspace --features runtime-benchmarks benchmark --locked --cargo-profile testnet --cargo-quiet |
65 | 65 | - name: Stop all workflows if failed |
66 | | - if: ${{ failure() && steps.required.conclusion == 'failure' }} |
| 66 | + if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }} |
67 | 67 | uses: ./.github/actions/workflow-stopper |
68 | 68 | with: |
69 | 69 | app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }} |
@@ -113,7 +113,7 @@ jobs: |
113 | 113 | if: ${{ matrix.partition == '1/3' }} |
114 | 114 | run: forklift cargo nextest run -p sp-api-test --features enable-staging-api --cargo-quiet |
115 | 115 | - name: Stop all workflows if failed |
116 | | - if: ${{ failure() && steps.required.conclusion == 'failure' }} |
| 116 | + if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }} |
117 | 117 | uses: ./.github/actions/workflow-stopper |
118 | 118 | with: |
119 | 119 | app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }} |
@@ -155,7 +155,7 @@ jobs: |
155 | 155 | --filter-expr " !test(/all_security_features_work/) - test(/nonexistent_cache_dir/)" \ |
156 | 156 | --partition count:${{ matrix.partition }} \ |
157 | 157 | - name: Stop all workflows if failed |
158 | | - if: ${{ failure() && steps.required.conclusion == 'failure' }} |
| 158 | + if: ${{ failure() && steps.required.conclusion == 'failure' && !github.event.pull_request.head.repo.fork }} |
159 | 159 | uses: ./.github/actions/workflow-stopper |
160 | 160 | with: |
161 | 161 | app-id: ${{ secrets.WORKFLOW_STOPPER_RUNNER_APP_ID }} |
|
0 commit comments