Skip to content

Commit 1d4d60c

Browse files
committed
ci: fix when the block replay workflow is run
1 parent 6a1ec8f commit 1d4d60c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/block_replay.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ name: Block replay test
33
on:
44
push:
55
branches: [ master ]
6-
workflow_run:
7-
workflows: [Go lint and test]
8-
types: [completed]
9-
workflow_dispatch:
106

117
jobs:
128
replay:
139
runs-on: self-hosted
14-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
10+
if: github.event.type == 'push' && github.event.ref == 'refs/head/master'
1511
steps:
1612
- uses: actions/checkout@v2
1713
- name: Set up Go

0 commit comments

Comments
 (0)