Мержовое. #42
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: Make changelogs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
MakeCL: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
with: | |
fetch-depth: 25 | |
- name: Python setup | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.9" | |
- name: Install depends | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r tools/changelog/requirements.txt | |
- name: Make CL | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} #Use this instead if you have unprotected branches | |
#GITHUB_TOKEN: ${{ secrets.CL_TOKEN }} | |
GIT_EMAIL: " [email protected]" | |
GIT_NAME: "SPLURT Bot" | |
run: python tools/changelog/generate_cl.py |