Skip to content

Merge pull request #420 from softwaremagico/419-when-handling-multipl… #476

Merge pull request #420 from softwaremagico/419-when-handling-multipl…

Merge pull request #420 from softwaremagico/419-when-handling-multipl… #476

Workflow file for this run

name: Frontend
on:
push:
paths:
- 'frontend/**'
- '.github/workflows/**'
branches:
- main
- master
pull_request:
paths:
- 'frontend/**'
- '.github/workflows/**'
types:
- opened
- synchronize
- reopened
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Frontend 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 }}
with:
projectBaseDir: frontend