-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
108 changed files
with
4,604 additions
and
1,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: '📖 Документация' | ||
description: 'Предложения по доработке документации' | ||
title: '[Doc]: ' | ||
labels: ['documentation'] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: '📖 Описание предложения' | ||
description: 'Общее описание необходимых доработок по документации' | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: page | ||
attributes: | ||
label: Страница/раздел | ||
description: Ссылка на страницу или наименование раздела | ||
|
||
- type: textarea | ||
id: problems | ||
attributes: | ||
label: 'Неучтенные кейсы документации' | ||
description: | | ||
* Нераскрытые в документации вопросы (можно ссылками на обсуждение). | ||
* Примеры неправильного использования | ||
* Прочие, желательно реальные, примеры проблем связанных с документацией | ||
- type: textarea | ||
id: tasks | ||
attributes: | ||
label: Перечень необходимых доработок | ||
value: | | ||
- [ ] Описать то-то | ||
- [ ] Исправить опечатку там то | ||
- [ ] Дополнить примерами такой то раздел |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,64 +6,9 @@ on: | |
|
||
jobs: | ||
SonarQualityGate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Извлечение исходников PR | ||
if: github.event_name == 'pull_request_target' || github.event_name == 'pull_request' | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: refs/pull/${{ github.event.number }}/merge # Для поддержки pull_request и pull_request_target | ||
fetch-depth: 0 # Получение полной истории (все тэги и ветки) | ||
|
||
- name: Извлечение исходников ветки ${{ github.ref_name }} | ||
if: github.event_name == 'push' | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 # Получение полной истории (все тэги и ветки) | ||
|
||
- name: Извлечение версии проекта | ||
uses: ./.github/actions/extract-version | ||
with: | ||
path: ./exts/yaxunit/src | ||
id: extract_version | ||
|
||
# Анализ проекта в SonarQube (ветка) | ||
- name: Анализ в SonarQube (${{ github.ref_name }}) | ||
if: github.event_name == 'push' | ||
uses: sonarsource/[email protected] | ||
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
LC_ALL: "ru_RU.UTF-8" | ||
with: | ||
args: > | ||
-Dsonar.host.url=https://sonar.openbsl.ru | ||
-Dsonar.branch.name=${{ github.ref_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 ${{ github.event.number }}) | ||
if: github.event_name == 'pull_request_target' || github.event_name == 'pull_request' | ||
uses: sonarsource/[email protected] | ||
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
with: | ||
args: > | ||
-Dsonar.host.url=https://sonar.openbsl.ru | ||
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }} | ||
-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 | ||
- name: Публикация результата проверки PR | ||
if: github.event_name != 'push' && (success()||failure()) | ||
uses: 1CDevFlow/sonar-review-action@main | ||
with: | ||
sonar_branch_plugin: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: "1CDevFlow/workflows/.github/workflows/sonar-analysis-with-openbsl.yml@main" | ||
with: | ||
root-project-path: ./exts/yaxunit/src | ||
secrets: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.