name: Delete doc comment

on:
  workflow_run:
    workflows: ["Delete doc comment trigger"]
    types:
      - completed

jobs:
  delete:
    uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@2430c1ec91d04667414e2fa31ecfc36c153ea391  # main
    secrets:
      comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}