From 4a3cfd0fc1b87c510ca0a47be118464b0baaaa16 Mon Sep 17 00:00:00 2001 From: jeandemanged Date: Mon, 11 Nov 2024 00:54:09 +0100 Subject: [PATCH] CI on main branch and tags (#5) Signed-off-by: Damien Jeandemange --- .github/workflows/ci.yml | 6 ++++++ README.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18549af..dfb63cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,12 @@ on: required: true default: false type: boolean + push: + branches: + - main + - 'release/v**' + tags: + - 'v[0-9]+.[0-9]+.[0-9]+*' release: types: - published diff --git a/README.md b/README.md index 0745db4..dfcd7a7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ **Y**et **A**nother **G**rid **A**nalysis **T**ool +[![Actions Status](https://github.com/jeandemanged/yagat/workflows/CI/badge.svg)](https://github.com/jeandemanged/yagat/actions) +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jeandemanged_yagat&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jeandemanged_yagat) + ## Overview YAGAT provides a graphical user interface built on top of the [PowSyBl](https://www.powsybl.org) open source grid analysis libraries.