From a5c06b023726bc7dc4b5ce7f4cec76dbd3b519ed Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 28 Jun 2025 12:27:05 +0100 Subject: [PATCH 1/2] chore(docs): added github actions release workflow status badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c93b180..27a0db6 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Coverage](https://img.shields.io/sonar/coverage/TomPlum_react-git-log?server=https%3A%2F%2Fsonarcloud.io&style=for-the-badge&logo=sonarqubecloud&logoColor=6fe86b&color=6fe86b)](https://sonarcloud.io/summary/overall?id=TomPlum_react-git-log) [![Reliability](https://img.shields.io/sonar/bugs/TomPlum_react-git-log?server=https%3A%2F%2Fsonarcloud.io&style=for-the-badge&logo=openbugbounty&color=orange)](https://sonarcloud.io/summary/new_code?id=TomPlum_react-git-log) [![Security](https://img.shields.io/badge/Snyk-Monitored-yellow?logo=snyk&style=for-the-badge&color=be86f0&logoColor=be86f0)](https://snyk.io/test/github/tomplum/react-git-log) +![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/TomPlum/react-git-log/release.yml?style=for-the-badge&logo=github) # :seedling: React Git Log From bef6e18e478ef77326e516e941146f5676ce8194 Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 28 Jun 2025 12:34:11 +0100 Subject: [PATCH 2/2] chore(ci): added fetch-depth: '0' to sonarcloud jobs to prevent shallow clone --- .github/workflows/develop.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index a78b990..f2fa540 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -100,6 +100,8 @@ jobs: needs: [unit-tests-library, integration-tests, unit-tests-demo] steps: - uses: actions/checkout@v4 + with: + fetch-depth: '0' - name: Download LCOV Info Artifact uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d00b438..62650e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,6 +111,8 @@ jobs: needs: [unit-tests-library, integration-tests, unit-tests-demo] steps: - uses: actions/checkout@v4 + with: + fetch-depth: '0' - name: Download LCOV Info Artifact uses: actions/download-artifact@v4 with: