Skip to content

(maint) Update actions/checkout digest to eef6144 #848

(maint) Update actions/checkout digest to eef6144

(maint) Update actions/checkout digest to eef6144 #848

Workflow file for this run

name: Update TOCs
on:
push:
branches:
- develop
- main
pull_request:
types: [opened, synchronize, reopened, closed]
workflow_dispatch:
jobs:
generateTOCs:
name: Generate all TOCs
runs-on: ubuntu-latest
# "better" would be to check if GH_TOKEN is available
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
ref: ${{ github.event.ref }}
- uses: technote-space/toc-generator@v4
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TARGET_PATHS: "."
TOC_TITLE: "## Table of Contents"
CREATE_PR: true