Skip to content

[MIRROR] Make Medical OSHA-compliant #700

[MIRROR] Make Medical OSHA-compliant

[MIRROR] Make Medical OSHA-compliant #700

name: "Чейнджлог: PR -> YML"
permissions:
contents: read
on:
push:
branches:
- dev-sierra
jobs:
MakeCL:
permissions:
contents: write # required to push the changelog chunk yml commit
runs-on: ubuntu-latest
if: github.repository == 'SierraBay/SierraBay12' # to prevent this running on forks
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1
with:
python-version: '3.x'
- name: Install depends
run: |
python -m pip install --upgrade pip
pip install ruamel.yaml PyGithub
- name: Make CL
env:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
GIT_EMAIL: "${{ secrets.BOT_EMAIL }}"
GIT_NAME: "${{ secrets.BOT_NAME }}"
run: python tools/changelog/generate_cl.py