mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 18:06:55 +00:00
22 lines
604 B
YAML
22 lines
604 B
YAML
|
name: Sonarcloud workflow
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- 'main'
|
||
|
- 'release*'
|
||
|
|
||
|
jobs:
|
||
|
sonarcloud:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # pin@v2
|
||
|
with:
|
||
|
# Disabling shallow clone is recommended for improving relevancy of reporting
|
||
|
fetch-depth: 0
|
||
|
- name: SonarCloud Scan
|
||
|
uses: sonarsource/sonarcloud-github-action@156db6fef3e168e4972abb76de0b32bbce8ec77a # pin@master
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|