From 858dad2a0571b7816102f9c22d916bdc034b2021 Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Fri, 4 Oct 2024 14:35:49 +0300 Subject: [PATCH] Fix GitHub Action badge (#1865) Signed-off-by: Marinov Avgustin --- .github/workflows/verify.yml | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a4ce97108..098e555e8 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -1,4 +1,4 @@ -name: verify (license, test and scan) +name: Verify on: push: @@ -33,12 +33,12 @@ jobs: java-version: 17 cache: 'maven' - - name: Check license + - name: Check file license headers run: mvn license:check --batch-mode - - name: Run Tests & javadoc + - name: Run tests & javadoc run: mvn verify javadoc:javadoc --batch-mode # -# - name: Scan +# - name: Scan (Sonar) # if: ${{ BRANCH_NAME == 'master' }} # run: mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.branch.name=eclipse-master -Dsonar.login=$SONAR_ACCESS_TOKEN --batch-mode diff --git a/README.md b/README.md index d4089f893..5cd769cc1 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Eclipse [hawkBit](http://www.eclipse.org/hawkbit/index.html) is an domain independent back end solution for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. Build: -[![Build Status](https://github.com/eclipse-hawkbit/hawkbit/workflows/verify/badge.svg)](https://github.com/eclipse-hawkbit/hawkbit/actions/workflows/verify.yml) +[![Build Status](https://github.com/eclipse-hawkbit/hawkbit/actions/workflows/verify.yml/badge.svg?branch=master)](https://github.com/eclipse-hawkbit/hawkbit/actions/workflows/verify.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=org.eclipse.hawkbit%3Ahawkbit-parent&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=org.eclipse.hawkbit%3Ahawkbit-parent) [![Maven Central](https://img.shields.io/maven-central/v/org.eclipse.hawkbit/hawkbit-parent?label=maven-central&color=blue)](https://search.maven.org/search?q=g:org.eclipse.hawkbit) [![Lines of code](https://img.shields.io/badge/dynamic/xml.svg?label=Lines%20of%20code&url=https%3A%2F%2Fwww.openhub.net%2Fprojects%2Fhawkbit.xml%3Fapi_key%3D30bc3f3fad087c2c5a6a67a8071665ba0fbe3b6236ffbf71b7d20849f4a5e35a&query=%2Fresponse%2Fresult%2Fproject%2Fanalysis%2Ftotal_code_lines&colorB=lightgrey)](https://www.openhub.net/p/hawkbit)