Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatsuyoshi <sfbgwm30@gmail.com>2020-03-23 16:40:29 +0300
committermatsuyoshi <sfbgwm30@gmail.com>2020-03-23 16:40:29 +0300
commit5abc123ea6b8bab0ca52f6b29621c04bc1a8afc1 (patch)
tree310aca7f3cb55f115de3d0c56356b4731a0b9a33
parent8b992472bd0636c8ac12e75c3e7ec03fd8819bda (diff)
add SonarCloud properties and workflow
-rw-r--r--.github/workflows/ci.yml13
-rw-r--r--README.md2
-rw-r--r--sonar-project.properties3
3 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..4ff4d4c
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,13 @@
+on: push
+name: Main Workflow
+jobs:
+ sonarCloudTrigger:
+ name: SonarCloud Trigger
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: SonarCloud Scan
+ uses: SonarSource/sonarcloud-github-action@v1.1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file
diff --git a/README.md b/README.md
index e27ee85..b4170b1 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# [harbor](https://themes.gohugo.io/harbor/) - Simple Hugo Theme
+[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=matsuyoshi30_harbor&metric=alert_status)](https://sonarcloud.io/dashboard?id=matsuyoshi30_harbor)
+
Simple and minimal personal blog theme for [Hugo](https://gohugo.io/).
![screenshot](https://user-images.githubusercontent.com/16238709/77252732-3698c880-6c99-11ea-9def-15a5f9b918bc.png)
diff --git a/sonar-project.properties b/sonar-project.properties
new file mode 100644
index 0000000..710af87
--- /dev/null
+++ b/sonar-project.properties
@@ -0,0 +1,3 @@
+sonar.host.url=https://sonarcloud.io
+sonar.organization=matsuyoshi30
+sonar.projectKey=matsuyoshi30_harbor \ No newline at end of file