mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-24 13:16:47 +01:00
32 lines
891 B
YAML
32 lines
891 B
YAML
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: " 97993072+SPLURT-Station-Bot@users.noreply.github.com"
|
|
GIT_NAME: "SPLURT Bot"
|
|
run: python tools/changelog/generate_cl.py
|