This commit is contained in:
Akayrathee 2023-04-08 14:57:01 +05:30 committed by GitHub
commit b9d6ae05a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 0 deletions

23
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: Build
on:
push:
branches:
- master # or the name of your main branch
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0
new/new Normal file
View File

1
sonar-project.properties Normal file
View File

@ -0,0 +1 @@
sonar.projectKey=Akayrathee_Vulnerable-Web-Application_AYdfmq7DTk3I1yQhMFIy

0
test.txt Normal file
View File

2
text.txt Normal file
View File

@ -0,0 +1,2 @@
admin
password