From f9f32a0dc2a2a81aeaa13dc7bb4238431011abf4 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Wed, 13 Nov 2019 12:31:05 +0900 Subject: [PATCH] Create sonarsource.yml --- .github/workflows/sonarsource.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/sonarsource.yml diff --git a/.github/workflows/sonarsource.yml b/.github/workflows/sonarsource.yml new file mode 100644 index 0000000..92979fa --- /dev/null +++ b/.github/workflows/sonarsource.yml @@ -0,0 +1,19 @@ +name: Sonar Cloud + +on: [push] + +jobs: + sonarcloud: + name: SonarCloud Trigger + runs-on: ubuntu-18.04 + steps: + + - uses: actions/checkout@master + with: + fetch-depth: 1 + + - name: SonarCloud Scan + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}