chore(deps): update myrotvorets/composite-actions digest to 6aa2c0d #1465
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@6aa2c0d9b6471fea741d4b28b356682abd90447e | |
with: | |
sonar-token: ${{ secrets.SONAR_TOKEN }} |