Skip to content

Adding support for fork13 #1649

Adding support for fork13

Adding support for fork13 #1649

Workflow file for this run

---
name: Security Build
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
sonarcloud:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
with:
# Disabling shallow clone is recommended for improving relevancy of reporting.
fetch-depth: 0
- uses: sonarsource/sonarcloud-github-action@master
# This step will only execute if the necessary secrets are available, preventing failures
# on pull requests from forked repositories.
if: ${{ env.SONAR_TOKEN}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}