Skip to content

Merge pull request #34812 from Baystation12/dependabot/github_actions… #1

Merge pull request #34812 from Baystation12/dependabot/github_actions…

Merge pull request #34812 from Baystation12/dependabot/github_actions… #1

name: Make changelogs
permissions:
contents: read
on:
push:
branches:
- dev
jobs:
MakeCL:
permissions:
contents: write # required to push the changelog chunk yml commit
runs-on: ubuntu-22.04
if: github.repository == 'Baystation12/Baystation12' # to prevent this running on forks
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 25
- name: Python setup
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
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