Skip to content

Commit

Permalink
ci: fix when the block replay workflow is run
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Jan 9, 2023
1 parent 6a1ec8f commit 1d4d60c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/block_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@ name: Block replay test
on:
push:
branches: [ master ]
workflow_run:
workflows: [Go lint and test]
types: [completed]
workflow_dispatch:

jobs:
replay:
runs-on: self-hosted
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: github.event.type == 'push' && github.event.ref == 'refs/head/master'
steps:
- uses: actions/checkout@v2
- name: Set up Go
Expand Down

0 comments on commit 1d4d60c

Please sign in to comment.