feat: add GitHub notification management Taskfile#140
Merged
Conversation
Introduces Taskfile.yml with six tasks for pruning CI/bot notification noise and surfacing critical sous-chefs org Issues for human review. Tasks: - cleanup-noise: dismisses notifications where title contains failed/merged/closed or reason=state_change, while preserving any sous-chefs Issue notifications - check-sous-chefs: formatted table of unread sous-chefs Issues with browser-friendly URLs for manual review - preview: dry run of cleanup-noise with no side effects - stats: notification counts grouped by type, reason, and org - list-all: full paginated notification list with type/reason - mark-repo-read: mark all notifications for REPO=owner/repo as read Uses Fish shell (shebang per task), gh api --paginate for full inbox traversal, Nord color palette via set_color hex codes, and temp files to avoid double-fetching large notification payloads. https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W
Ingests all 7 scripts from scripts/ and force-merge-prs.fish into Taskfile.yml as first-class tasks with Nord-coloured output headers, clear descriptions, and precondition guards. New tasks: - cancel-runs: bulk cancel in-progress Actions runs (ORG=, REPO= opt.) - update-release-pipeline: 9-step cookbook migration via a temp workspace that resolves the script's inter-script relative-path dependencies (manage-webhooks.sh / manage-branch-protection.sh) - create-workflow-branches: rewrite hardcoded path via sed into a tmpfile, then run fish against REPOS_PATH= supplied by caller - create-workflow-prs: same path-rewrite pattern for create-prs.fish - list-release-prs: cd to REPOS_PATH before invoking the script so its `find .` repo discovery works correctly - force-merge-prs: path-rewrite + cd approach; passes PATTERN= arg - branch-protection: thin wrapper, auto-detects repo if REPO= omitted - webhooks-check: passes optional REPOS= list to manage-webhooks.sh - webhooks-disable: same, for the disable action Also expands the file-header comment into a full usage reference listing all 16 tasks with their variable signatures. https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces Taskfile.yml with six tasks for pruning CI/bot notification
noise and surfacing critical sous-chefs org Issues for human review.
Tasks:
failed/merged/closed or reason=state_change, while preserving
any sous-chefs Issue notifications
with browser-friendly URLs for manual review
Uses Fish shell (shebang per task), gh api --paginate for full
inbox traversal, Nord color palette via set_color hex codes, and
temp files to avoid double-fetching large notification payloads.
https://claude.ai/code/session_01SFKChTX8gNGNmh4in5Fj8W