Skip to content

Rework

Rework #107

Workflow file for this run

name: Pull Request Pipeline
on:
workflow_dispatch:
pull_request:
branches:
- "main"
paths-ignores:
- ".github/**"
- "*.md"
- "docs/**"
jobs:
CI:
uses: nebuly-ai/nebuly-sdk/.github/workflows/.ci-template.yaml@main
code-quality:
runs-on: ubuntu-latest
needs: ci
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: coverage
- name: Run code quality check
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.pullrequest.key=${{ github.event.number }}
-Dsonar.pullrequest.branch=${{ github.HEAD_REF }}
-Dsonar.pullrequest.base=${{ github.base_ref }}