Skip to content

Commit

Permalink
fix full sync not being initialized when PR updates ci/label (#1457)
Browse files Browse the repository at this point in the history
Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
mambisi and prasannavl authored Sep 12, 2022
1 parent 54dc254 commit 445a98c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fullsync-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ on:
pull_request:
branches:
- master
types: [labeled]
types: [labeled, opened, reopened, synchronize]

jobs:
build-binaries:
if: ${{ github.event.label.name == 'consensus' || github.event.label.name == 'ci/sync' }}
if: contains(github.event.pull_request.labels.*.name, 'ci/sync')
runs-on: [self-hosted, linux, x64,server-2]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
stop: 1900000
runs-on: [self-hosted, linux, x64]
needs: build-binaries
if: ${{ github.event.label.name == 'consensus' || github.event.label.name == 'ci/sync' }}
if: contains(github.event.pull_request.labels.*.name, 'ci/sync')
continue-on-error: true
container:
image : gcr.io/br-blockchains-dev/datadir-${{matrix.datadir.start}}
Expand Down

0 comments on commit 445a98c

Please sign in to comment.