diff --git a/.github/workflows/wiki-guard.yml b/.github/workflows/wiki-guard.yml index 6c392d37..709fb8ea 100644 --- a/.github/workflows/wiki-guard.yml +++ b/.github/workflows/wiki-guard.yml @@ -19,6 +19,12 @@ on: schedule: - cron: "*/10 * * * *" gollum: + # Piggyback on frequent repo activity, because the cron schedule is + # best-effort and often delayed well beyond its interval. + issues: + types: [opened] + issue_comment: + types: [created] workflow_dispatch: permissions: @@ -57,7 +63,6 @@ jobs: -q '.[] | select(.permissions.push) | .login' 2>/dev/null \ | tr 'A-Z' 'a-z' | sort -u > writers.txt || true echo "write-access members loaded: $(wc -l < writers.txt)" - cat writers.txt cd wiki git config core.quotePath false