From 4efa8a0fe517c50814a80313eef9aacbd239ea68 Mon Sep 17 00:00:00 2001 From: Philip Cook Date: Thu, 7 Apr 2022 20:10:48 -0400 Subject: [PATCH] DOC: Docker CI badge in README (#1333) * DOC: Docker CI badge in README COMP: Avoid building on draft PR --- .github/workflows/ci-docker.yml | 7 ++++++- README.md | 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index e3de39c31..b97c2e38a 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -8,10 +8,15 @@ on: pull_request: branches: - 'master' - + types: + - opened + - reopened + - synchronize + - ready_for_review jobs: docker: runs-on: ubuntu-latest + if: ${{ !github.event.pull_request.draft }} steps: - name: Checkout diff --git a/README.md b/README.md index b31cbe187..8510b1988 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,7 @@ ![ants goat](http://i.imgur.com/SEKf1mo.jpg) --> [Advanced Normalization Tools](https://imgur.com/a/kySGi) ========================================================= - -[![Build Status](https://travis-ci.org/ANTsX/ANTs.svg?branch=master)](https://travis-ci.org/ANTsX/ANTs) -[![ANTsX](https://circleci.com/gh/ANTsX/ANTs.svg?style=shield)](https://app.circleci.com/pipelines/github/ANTsX/ANTs) +[![ci-docker](https://github.com/ANTsX/ANTs/actions/workflows/ci-docker.yml/badge.svg)](https://github.com/ANTsX/ANTs/actions/workflows/ci-docker.yml) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md) ANTs computes high-dimensional mappings to capture the statistics of brain