Why on earth did I do this?!

This commit is contained in:
soup-bowl
2024-11-17 16:40:49 +00:00
parent 2be58ac899
commit 78c529a2ce
2 changed files with 22 additions and 7 deletions
-7
View File
@@ -32,13 +32,6 @@ jobs:
steps:
- name: Checkout Codebase
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@v3
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
- name: Login to GitHub CR
uses: docker/login-action@v3
+22
View File
@@ -0,0 +1,22 @@
name: SonarQube Analysis
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Codebase
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@v3
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}