mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-23 13:18:59 +01:00
32 lines
888 B
YAML
32 lines
888 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: "85452301+Sandstorm-Bot@users.noreply.github.com"
|
|
GIT_NAME: "Sandstorm Bot"
|
|
run: python tools/changelog/generate_cl.py
|