Skip to content

chore: maintenance tooling — issue templates, stale bot, periodic audit sync - #887

Merged
Kikobeats merged 2 commits into
masterfrom
chore/issue-templates-stale-bot
Jun 15, 2026
Merged

chore: maintenance tooling — issue templates, stale bot, periodic audit sync#887
Kikobeats merged 2 commits into
masterfrom
chore/issue-templates-stale-bot

Conversation

@Kikobeats

@Kikobeats Kikobeats commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Maintenance tooling, partly salvaged from #835 (closed) plus the periodic audit automation.

Issue templates (.github/ISSUE_TEMPLATE/)

  • bug-report.yml, feature-request.yml
  • provider-request.yml — structured new-provider form (name, URL, schemes, endpoint, discovery, example URLs)
  • config.yml — disables blank issues, links Discussions + oembed.com
  • Bug-report "Affected Area" matches current repo (providers registry, scripts/audit.js).

Stale-issue bot (.github/workflows/stale-issues.yml)

  • actions/stale@v9, daily; stale after 7d inactivity, closed 7d later; Postpone exempt.

Periodic audit + auto enable/disable

  • scripts/audit.js --sync: audits both providers/ and providers-disabled/, then:
    • moves confirmed-broken (FAIL) enabled providers → providers-disabled/
    • moves recovered (OK) disabled providers → providers/
    • leaves INCONCLUSIVE untouched
    • writes the full report to AUDIT.md
  • npm scripts: audit (check) and audit:sync (sync + AUDIT.md). Dirs overridable via OEMBED_ENABLED_DIR / OEMBED_DISABLED_DIR (testing).
  • .github/workflows/audit.yml: weekly (Mon 06:00 UTC) + manual dispatch. Runs the sync, rebuilds providers.json, and opens a PR with the moves for review — no direct pushes to master.

🤖 Generated with Claude Code

Port the useful maintenance tooling from #835 (closed): structured
issue forms (bug / feature / new provider) plus a daily stale-issue
workflow. Bug-report affected-area options updated to match current
repo layout (providers registry, scripts/audit.js).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Kikobeats Kikobeats mentioned this pull request Jun 15, 2026
12 tasks
- audit.js gains a --sync mode: audits both providers/ and
  providers-disabled/, moves confirmed-broken providers out and
  recovered ones back, and writes the full report to AUDIT.md.
  INCONCLUSIVE providers are never moved.
- npm scripts: `audit` (check) and `audit:sync` (sync + AUDIT.md).
- Dirs overridable via OEMBED_ENABLED_DIR / OEMBED_DISABLED_DIR.
- New weekly workflow (.github/workflows/audit.yml) runs the sync,
  rebuilds providers.json, and opens a PR with the changes for review.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Kikobeats Kikobeats changed the title chore: add issue templates and stale-issue bot chore: maintenance tooling — issue templates, stale bot, periodic audit sync Jun 15, 2026
@Kikobeats
Kikobeats merged commit 2a77e82 into master Jun 15, 2026
2 checks passed
@Kikobeats
Kikobeats deleted the chore/issue-templates-stale-bot branch June 15, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant