Set artifact and log retention for a repo
One step with GitHub Actions. We can help you get access.
Get something done
Set artifact and log retention for a repo
with GitHub Actions
Works with AI assistants
Use GitHub Actions: its Github Actions API lets you set artifact and log retention for a repo in a single step (PUT /repos/{owner}/{repo}/actions/permissions/artifact-and-log-retention). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I keep artifacts and logs for longer in my repository?
- Can I change the retention period for workflow runs and logs?
Say it to your AI assistant
- Set artifact and log retention to {days} days in {owner}/{repo}.
- Keep checks and artifacts in {owner}/{repo} for {days} days.
For your developer
PUT /repos/{owner}/{repo}/actions/permissions/artifact-and-log-retention in Github Actions API. Full spec on APIs.io.