Skip to content

ResearchLabSCG-And-Delman | Corecode #51

ResearchLabSCG-And-Delman | Corecode

ResearchLabSCG-And-Delman | Corecode #51

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@82c7e631bb3cdc910f68e0081d67478d79c6982d
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