Skip to content

Merge pull request #752 from myrotvorets/renovate/myrotvorets-composi… #1464

Merge pull request #752 from myrotvorets/renovate/myrotvorets-composi…

Merge pull request #752 from myrotvorets/renovate/myrotvorets-composi… #1464

Workflow file for this run

name: SonarCloud Analysis
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: SonarCloud Scan
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name && github.event.sender.login != 'dependabot[bot]' ||
github.event_name == 'push' && !contains(github.event.head_commit.message, '[ci skip]')
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- name: Run SonarScanner Analysis
uses: myrotvorets/composite-actions/node-sonarscan@5c0e83bf1730b69cd2abe553d0f247b7e54443d1
with:
sonar-token: ${{ secrets.SONAR_TOKEN }}