diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-08-03 18:11:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 18:11:45 +0300 |
commit | a3fe142f77e8f166914a130523dbd6702ac539c6 (patch) | |
tree | 874b2ec75f31cea1d867ac7da64b120a340283fd /.github/workflows/sonarcloud.yml | |
parent | bcbcea678f2b892a8f76c8383ae10175e6007de0 (diff) | |
parent | e7a5bc85dd5d6eb63f9aab6f9b06c87a3a59b250 (diff) | |
download | vyatta-bash-equuleus.tar.gz vyatta-bash-equuleus.zip |
Merge pull request #6 from vyos/mergify/bp/equuleus/pr-3equuleus
T6540: added workflows (current) (backport #3)
Diffstat (limited to '.github/workflows/sonarcloud.yml')
-rw-r--r-- | .github/workflows/sonarcloud.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml new file mode 100644 index 0000000..895c4d7 --- /dev/null +++ b/.github/workflows/sonarcloud.yml @@ -0,0 +1,22 @@ +name: Sonar Checks +on: + push: + branches: + - equuleus + + pull_request_target: + types: [opened, synchronize, reopened] + +jobs: + sonar-cloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |