Skip to content

Languages

Languages #4418

Workflow file for this run

name: Проверка Ченджлога
permissions:
contents: read
pull-requests: write
issues: write
on:
pull_request_target:
types: [opened, reopened, edited]
jobs:
CheckCL:
runs-on: ubuntu-latest
if: github.repository == 'SierraBay/SierraBay12' && github.base_ref == 'dev-sierra' && github.event.pull_request.draft == false
steps:
- name: Скачивание файлов
run: |
wget https://raw.githubusercontent.com/SierraBay/SierraBay12/dev-sierra/tools/changelog/sierra_check_changelog.py
wget https://raw.githubusercontent.com/SierraBay/SierraBay12/dev-sierra/tools/changelog/tags.yml
- name: Установка Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
with:
python-version: '3.x'
- name: Установка зависимостей
run: |
python -m pip install --upgrade pip
pip install ruamel.yaml PyGithub
- name: Проверка чейнджлога
env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
run: python sierra_check_changelog.py