Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 test

AVAILABLE WORKFLOWS
NAME STATE ID
setup active 114854128
test active 114855097
```