forked from SierraBay/SierraBay12
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 989 Bytes
/
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: "Чейнджлог: 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@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
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