1Panel/.github/workflows/sonarcloud-scan.yml
wanghe-fit2cloud 048121a936
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 5s
chore: Update workflows
2024-12-02 14:24:01 +08:00

20 lines
473 B
YAML

name: SonarCloud Scan
on:
push:
branches:
- dev
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}