Skip to content

Partial refactoring

Partial refactoring #2

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- 'dependabot**'
- 'release**'
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarQube scan
if: github.event_name != 'pull_request' || github.event_name == 'workflow_dispatch'
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
- name: Quality gate check
if: github.event_name != 'pull_request' || github.event_name == 'workflow_dispatch'
uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}