Loading...
Loading...
Batch archive project items with Status set to Done using `gh project item-archive`. Also checks and guides on the configuration status of the Auto-archive built-in workflow (manual execution is basically unnecessary if enabled). Used for scenarios like "archive completed items", "organize Done items", "clean up the board", etc.
npx skill4agent add fandhe-ai/agent-cli-skills project-archive-doneghprojecthttps://github.com/orgs/<owner>/projects/<number>/workflowshttps://github.com/users/<owner>/projects/<number>/workflowsgh project item-list <number> \
--owner <owner> \
--format json \
--limit 999gh project field-list <number> \
--owner <owner> \
--format json--querygh project item-list <number> \
--owner <owner> \
--query "status:Done" \
--format jsonThe following N completed items will be archived:
- #42: feat: Social Login (Done)
- #43: fix: Validation Error (Done)
- #44: docs: API Documentation Update (Done)
Do you want to proceed?gh project item-archive <number> \
--owner <owner> \
--id <item-id>## Archiving Results
- Archived: N items
- Remaining active items: M items
- Completed items on board: 0 items💡 Enabling Auto-archive will automatically archive items N days after they are marked Done.
Configuration: <workflows URL>gh project item-archive --undoGIT_SSL_NO_VERIFY=1GIT_SSL_NO_VERIFY=1gh project item-archivedocs/sandbox-tls.md