diff --git a/.github/workflows/main-build.yml b/.github/workflows/main-build.yml index 694895d5..e01f45e7 100644 --- a/.github/workflows/main-build.yml +++ b/.github/workflows/main-build.yml @@ -9,6 +9,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + checks: write + id-token: write + jobs: build_artifacts: name: Build artifacts diff --git a/.github/workflows/run-tests-linux.yml b/.github/workflows/run-tests-linux.yml index 5fd7272c..b485e4bb 100644 --- a/.github/workflows/run-tests-linux.yml +++ b/.github/workflows/run-tests-linux.yml @@ -160,7 +160,7 @@ jobs: uses: mikepenz/action-junit-report@v3 if: always() with: + check_name: Tests. Linux v${{ inputs.v8_version }} ${{ inputs.locale }} report_paths: reports/report.xml fail_on_failure: ${{ inputs.fail_on_failure }} - require_passed_tests: ${{ inputs.fail_on_failure }} - update_check: true \ No newline at end of file + require_passed_tests: true \ No newline at end of file diff --git a/.github/workflows/sq.yml b/.github/workflows/sq.yml index ec3173c6..4fe09291 100644 --- a/.github/workflows/sq.yml +++ b/.github/workflows/sq.yml @@ -43,7 +43,8 @@ jobs: -Dsonar.host.url=https://sonar.openbsl.ru -Dsonar.branch.name=${{ env.BRANCH_NAME }} -Dsonar.projectVersion=${{ steps.extract_version.outputs.version }} - + -Dsonar.qualitygate.wait=true + -Dsonar.qualitygate.timeout=300 # Анализ проекта в SonarQube (PR) # https://docs.sonarqube.org/latest/analysis/pull-request/ - name: Анализ в SonarQube (pull-request) @@ -57,3 +58,5 @@ jobs: -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }} -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }} -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} + -Dsonar.qualitygate.wait=true + -Dsonar.qualitygate.timeout=300