forked from vgstation-coders/vgstation13
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1.04 KB
/
make_changelogs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Make changelogs
on:
push:
branches:
- Bleeding-Edge
jobs:
MakeCL:
runs-on: ubuntu-latest
if: github.repository_owner == 'vgstation-coders' && !contains(github.event.head_commit.message, '[ci skip]')
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: "3.11"
- 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: "D3athrow-Issues"
run: python tools/changelog/gen_cl.py
- name: Trigger compile changelog
uses: peter-evans/repository-dispatch@v3
with:
event-type: trigger-compile-changelog