Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toshimaru/gh-workflow-log-cleaner
Clean outdated workflow logs.
https://github.com/toshimaru/gh-workflow-log-cleaner
gh-extension
Last synced: 11 days ago
JSON representation
Clean outdated workflow logs.
- Host: GitHub
- URL: https://github.com/toshimaru/gh-workflow-log-cleaner
- Owner: toshimaru
- Created: 2024-08-21T01:12:11.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T05:14:27.000Z (about 2 months ago)
- Last Synced: 2024-09-17T03:18:15.284Z (about 2 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![test](https://github.com/toshimaru/gh-workflow-log-cleaner/actions/workflows/test.yml/badge.svg)](https://github.com/toshimaru/gh-workflow-log-cleaner/actions/workflows/test.yml)
# GitHub Workflow Log Cleaner
Clean up your outdated GitHub Actions workflow logs.
![Cover Image](./img/cover.png)
## Usage
```console
$ gh workflow-log-cleaner "Your Workflow Name ( or or )"
```## Example
```console
$ gh workflow-log-cleaner test
``````console
$ gh workflow-log-cleaner test --limit 10
```## Don't know your workflow name?
If you don't know your workflow name or workflow id, you can find it by running `gh workflow-log-cleaner` without any arguments.
```console
$ gh workflow-log-cleaner
USAGE
gh workflow-log-cleaner [ | | ] [options]OPTIONS
-h, --help Show this help message and exit
--limit int Limit the number of runs to delete (default: 1000)EXAMPLES
Remove logs for the test workflow
$ gh workflow-log-cleaner testAVAILABLE WORKFLOWS
NAME STATE ID
setup active 114854128
test active 114855097
```