* feat: 1.2.0 — fix Telegram markup, premieres, lookback; add CI, state branch, changelog Fixes - Telegram: HTML parse mode; titles no longer render with backslashes. - Skip scheduled Premieres until they are public (watch-page check). - Replace "published today (UTC)" with a 48h lookback window so delayed scheduled runs cannot lose videos. - Distinguish skipped vs failed platforms; exit 1 on failure so the CI-failure notifier fires. Infrastructure - ci.yml: ruff (incl. S rules), pytest, zizmor, actionlint; `ci` gate job. - release.yml: tag v* -> GitHub Release from changelog/1.x.md -> Discord. - Dependabot for actions + dev deps; actions SHA-pinned. - State moves to the orphan `state` branch (main becomes ruleset-protected). - Shared message builder and HTTP client; tests; docs rewritten. - Remove unused .github/scripts/discord_notify.py. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> * ci: add 7-day Dependabot cooldown (zizmor dependabot-cooldown) Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
10 lines
221 B
Python
10 lines
221 B
Python
"""Shared result type for platform modules."""
|
|
|
|
from enum import Enum
|
|
|
|
|
|
class PostStatus(Enum):
|
|
OK = "OK"
|
|
SKIPPED = "skipped" # platform not configured
|
|
FAILED = "FAILED" # configured, but the request failed
|