mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 19:55:48 +00:00
29 lines
639 B
YAML
29 lines
639 B
YAML
name: Changelog Populator
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'CHANGELOG.md'
|
|
|
|
jobs:
|
|
populate:
|
|
|
|
name: Changelog Generator
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'Slimefun/Slimefun4'
|
|
|
|
steps:
|
|
- name: TOC Generator
|
|
uses: technote-space/toc-generator@v2.6.1
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
TARGET_PATHS: 'CHANGELOG.md'
|
|
TOC_TITLE: '**Table of contents**'
|
|
COMMIT_MESSAGE: '[CI skip] Updated Changelog'
|
|
COMMIT_NAME: 'TheBusyBot'
|
|
CREATE_PR: false
|
|
MAX_HEADER_LEVEL: 2
|
|
FOLDING: false
|