diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index 4eb7645..47cc52c 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -26,10 +26,10 @@ jobs: # https://github.com/thlorenz/doctoc/issues/101 # https://github.com/thlorenz/doctoc/pull/145 doctoc --github --title "## Contents" readme.md - - name: Remove blacklisted TOC entries - # See: https://github.com/sindresorhus/awesome-lint/blob/v0.13.0/rules/toc.js#L15-L20 + - name: Remove forbidden special TOC entries + # See: https://github.com/sindresorhus/awesome-lint/blob/v0.16.0/rules/toc.js#L15-L18 run: | - gawk -i inplace '!/^- \[(Contribute|Contributing|Licence|License|Footnotes)\]\(#.+\)$/{print}' ./readme.md + gawk -i inplace '!/^- \[(Contributing|Footnotes)\]\(#.+\)$/{print}' ./readme.md - name: Commit and push changes uses: stefanzweifel/git-auto-commit-action@v4.6.0 with: