feat(workflow): change when to make CI

We will abandon develop branch for a while. It's better to work with
feature branches.
This commit is contained in:
2025-08-03 15:59:00 +02:00
parent 14ca5bf0ea
commit 76b3b83d07

View File

@@ -4,13 +4,13 @@ on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- develop
- master
- main
push:
branches:
- master
- main
- develop
- 'releases/**'
- "releases/**"
jobs:
tests:
runs-on: ubuntu-latest
@@ -37,12 +37,12 @@ jobs:
runs-on: ubuntu-latest
needs: tests
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: tests-results
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5.2.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: tests-results
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v5.2.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}