toc-generator icon indicating copy to clipboard operation
toc-generator copied to clipboard

Doesn't work for github wiki edits

Open k9ert opened this issue 9 months ago • 1 comments

Please describe your suggestion: 提案の概要

name: TOC Generator

on:
  gollum:  # Triggered when wiki is updated
  workflow_dispatch:  # Allow manual triggering
  schedule:
    - cron: '0 0 * * *'  # Run daily at midnight

jobs:
  generateTOC:
    name: TOC Generator
    runs-on: ubuntu-latest
    steps:
      - uses: technote-space/toc-generator@v4
        with:
          GITHUB_TOKEN: ${{ secrets.SOME_TOKEN }}

Describe the solution you'd like: 考えうる解決方法

The above Action definition should add TOCs to my github wiki-pages. Instead you get:

This is not a target event.

Describe alternatives you've considered: 考えうる代替案

Use a different toc-generator, e.g. https://spinscale.de/posts/2021-10-29-github-actions-updating-github-wiki-after-edit.html

k9ert avatar Apr 09 '25 06:04 k9ert