fix(ci): only run the full sync test on mergify queue PRs (#3773)
* fix(ci): only run the full sync test on mergify queue PRs * fix inconsistent indenting and syntax * Update .github/workflows/test-full-sync.yml Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
This commit is contained in:
parent
886a4f585b
commit
c724c354d7
|
@ -5,7 +5,7 @@ on:
|
|||
inputs:
|
||||
network:
|
||||
default: 'Mainnet'
|
||||
pull_request_review:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
|
@ -21,7 +21,6 @@ on:
|
|||
# workflow definitions
|
||||
- 'docker/**'
|
||||
- '.github/workflows/test-full-sync.yml'
|
||||
types: [submitted]
|
||||
|
||||
env:
|
||||
CARGO_INCREMENTAL: '1'
|
||||
|
@ -37,6 +36,9 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
# only run on Mergify head branches:
|
||||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-your-workflow-based-on-the-head-or-base-branch-of-a-pull-request-1
|
||||
if: startsWith(github.head_ref, 'mergify/merge-queue/')
|
||||
name: Build images
|
||||
timeout-minutes: 210
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -48,7 +50,7 @@ jobs:
|
|||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
||||
# Automatic tag management and OCI Image Format Specification for labels
|
||||
# Automatic tag management and OCI Image Format Specification for labels
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3.6.2
|
||||
|
|
Loading…
Reference in New Issue