Skip to content

Commit

Permalink
Run full sync on PR labels consensus or ci/sync (#1453)
Browse files Browse the repository at this point in the history
* run full sync on pull requests labeled consensus
* Add `ci/sync' label

Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
mambisi and prasannavl authored Sep 10, 2022
1 parent fd0312b commit 2b3ce01
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Full Sync Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [labeled]

jobs:
build-binaries:
if: ${{ github.event.label.name == 'consensus' || github.event.label.name == 'ci/sync' }}
runs-on: [self-hosted, linux, x64,server-2]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -100,6 +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' }}
continue-on-error: true
container:
image : gcr.io/br-blockchains-dev/datadir-${{matrix.datadir.start}}
Expand Down

0 comments on commit 2b3ce01

Please sign in to comment.