Skip to content

added new procedures #7

added new procedures

added new procedures #7

name: "sonar_cloud_scan_github_actions"
on:
push:
branches: [master, main, dev/*, feature/*, release/*, staging/*, prod/*, qa]
pull_request:
branches: [master, main, dev/*, feature/*, release/*, staging/*, prod/*, qa]
permissions:
contents: write
jobs:
CodeScan-Analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=joelwembo
-Dsonar.projectKey=api-generative-ai-bedrock-sagemaker-langchain
-Dsonar.python.coverage.reportPaths=coverage.xml