1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 16:29:17 +08:00
1Panel/.github/workflows/sonarcloud-scan.yml

21 lines
473 B
YAML
Raw Normal View History

2024-12-02 14:24:01 +08:00
name: SonarCloud Scan
2023-10-13 04:44:14 -05:00
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 }}
2024-11-29 22:21:35 +08:00
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}