STAGING-SIERRA: Air Alarm hotfix #3343
Workflow file for this run
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
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@0a5c61591373683505ea898e09a3ea4f39ef2b9c | |
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 |