Skip to content

chore(deps): update step-security/harden-runner action to v2.10.0 #1653

chore(deps): update step-security/harden-runner action to v2.10.0

chore(deps): update step-security/harden-runner action to v2.10.0 #1653

Workflow file for this run

name: SonarCloud Analysis
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
env:
SONARSCANNER: "true"
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]')
permissions:
contents: read
packages: read
steps:
- name: Run SonarCloud analysis
uses: myrotvorets/composite-actions/node-sonarscan@master
with:
sonar-token: ${{ secrets.SONAR_TOKEN }}
registry-url: https://npm.pkg.github.com