Merge pull request #4540 from out-of-phaze/devupdate #2051
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: | |
- dev | |
workflow_dispatch: | |
jobs: | |
MakeCL: | |
runs-on: ubuntu-latest | |
if: github.repository == 'NebulaSS13/Nebula' # to prevent this running on forks | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 25 | |
- name: Python setup | |
uses: actions/setup-python@v4 | |
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 |