Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions examples/doc-orphan-detector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copy to `.github/workflows/doc-orphan-detector.yml`. Runs weekly (Mon 07:00 UTC).
#
# The doc-sweep gh-cron backstop (spec §4.7): for every branch with no open PR it
# opens or updates a tracking issue listing committed allow-list docs whose newest
# touching commit is older than `stale-hours`. Detection only — never commits or
# pushes, and reports paths only (file contents are never read).

name: Doc Orphan Detector

on:
schedule:
- cron: "0 7 * * 1"
workflow_dispatch:

permissions:
contents: read
issues: write

jobs:
detect:
uses: ArchonVII/github-workflows/.github/workflows/doc-orphan-detector.yml@v1
# with:
# stale-hours: 12
# base-label: doc-orphan
# default-branch: main