chore(deps): update dependency rollup to v2.79.2 [security] #2174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarCloud | |
env: | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
on: | |
push: | |
branches: [ main-kampf ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main-kampf ] | |
types: [opened, synchronize, reopened] | |
jobs: | |
sonarcloud: | |
name: SonarCloud | |
environment: production | |
# Skip workflow entirely for [skip ci] commits | |
if: ${{ !contains(github.event.commits[0].message, '[skip ci]') && !contains(github.event.commits[0].message, '[no ci]') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Shallow clones should be disabled for a better relevancy of analysis | |
# 0 = all history for all branches and tags | |
fetch-depth: 0 | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any |