Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Build
name: SonarQube
run-name: SonarQube Cloud Analysis.
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
sonarqube:
name: SonarQube
Expand All @@ -16,6 +15,6 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=bugs)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=rmottanet_gitnap&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=rmottanet_gitnap)

# GitNap: Bash Script Collection

Expand All @@ -21,8 +26,9 @@ Thank you for considering **GitNap** for your needs. While it may be a modest to
<br />
<br />
<div align="center">
<a href="https://bitbucket.org/rmottalabs/"><img alt="Static Badge" src="https://img.shields.io/badge/-Bitbucket?style=social&logo=bitbucket&logoSize=auto&label=Bitbucket&link=https%3A%2F%2Fbitbucket.org%2Frmottalabs%2Fworkspace%2Foverview%2F"></a>
<a href="https://gitlab.com/rmottanet"><img alt="Static Badge" src="https://img.shields.io/badge/-Gitlab?style=social&logo=gitlab&logoSize=auto&label=Gitlab&link=https%3A%2F%2Fgitlab.com%2Frmottanet"></a>
<a href="https://github.com/rmottanet"><img alt="Static Badge" src="https://img.shields.io/badge/-Github?style=social&logo=github&logoSize=auto&label=Github&link=https%3A%2F%2Fgithub.com%2Frmottanet"></a>
<a href="https://hub.docker.com/"><img alt="Static Badge" src="https://img.shields.io/badge/-DockerHub?style=social&logo=docker&logoSize=auto&label=DockerHub&link=https%3A%2F%2Fhub.docker.com%2Fu%2Frmottanet"></a>
<a href="https://bitbucket.org/rmottalabs/gitnap"><img alt="Static Badge" src="https://img.shields.io/badge/-ginap?style=social&logo=bitbucket&logoSize=auto&label=bitbucket&link=https%3A%2F%2Fbitbucket.org%2Frmottalabs%2Fgitnap%2Fsrc%2Fmain%2F"></a>
<a href="https://codeberg.org/rmottanet/gitnap"><img alt="Static Badge" src="https://img.shields.io/badge/-ginap?style=social&logo=codeberg&logoSize=auto&label=codeberg&link=https%3A%2F%2Fcodeberg.org%2Frmottanet%2Fgitnap"></a>
<a href="https://gitea.com/rmottanet/gitnap"><img alt="Static Badge" src="https://img.shields.io/badge/-ginap?style=social&logo=gitea&logoSize=auto&label=gitea&link=https%3A%2F%2Fgitea.com%2Frmottanet%2Fgitnap"></a>
<a href="https://github.com/rmottanet/gitnap"><img alt="Static Badge" src="https://img.shields.io/badge/-ginap?style=social&logo=github&logoSize=auto&label=github&link=https%3A%2F%2Fgithub.com%2Frmottanet%2Fgitnap"></a>
<a href="https://gitlab.com/rmottanet/gitnap"><img alt="Static Badge" src="https://img.shields.io/badge/-ginap?style=social&logo=gitlab&logoSize=auto&label=gitlab&link=https%3A%2F%2Fgitlab.com%2Frmottanet%2Fgitnap"></a>
</div>
24 changes: 12 additions & 12 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
sonar.projectKey=rmottanet_gitnap
sonar.organization=rmottanet


# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=gitnap
#sonar.projectVersion=1.0


# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.

# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.projectName=gitnap
sonar.host.url=https://sonarcloud.io
sonar.sourceEncoding=UTF-8
sonar.sources=.
sonar.exclusions=.docs/**
sonar.shell.activate=true
sonar.githubactions.activate=true
sonar.yaml.activate=true
sonar.sca.enabled=false
sonar.scanner.os=linux
sonar.scanner.arch=x64
sonar.scanner.skipJreProvisioning=true
Loading