mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-17 05:00:26 +00:00
It's no secret that we're lacking behind on releases; partially, because they are slightly tedious to create. My hope is that this will be resolved by introducing `release-plz` [1], which is automates publication whenever we push to `master`. Along the way, I aligned the naming of the other workflows. [1]: https://github.com/MarcoIeni/release-plz
22 lines
457 B
YAML
22 lines
457 B
YAML
name: Update Table of Contents
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
update-toc:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Generate Table of Contents
|
|
uses: technote-space/toc-generator@v4
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
TARGET_PATHS: README.md
|
|
TOC_TITLE: "## Table of Contents"
|
|
MAX_HEADER_LEVEL: 2
|