Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cngjo/gh-artifacts-prune
Github CLI extension to prune action artifacts
https://github.com/cngjo/gh-artifacts-prune
gh-extension
Last synced: about 2 months ago
JSON representation
Github CLI extension to prune action artifacts
- Host: GitHub
- URL: https://github.com/cngjo/gh-artifacts-prune
- Owner: cngJo
- License: mit
- Created: 2023-09-25T14:48:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-19T16:29:49.000Z (12 months ago)
- Last Synced: 2024-10-13T12:07:35.884Z (3 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gh artifacts-prune
A GitHub (`gh`) CLI extension to prune action artifacts from a repository.
## Installation
Use the `gh extension install` command to install this extension:
```console
gh extension install cngJo/gh-artifacts-prune
```## Usage
> [!NOTE]
> GitHub's API has a maximum page size of 100 items.
> You might need to run the command multiple times when you have more than 100 artifacts.
> There will be a warning if the maximum page size is reached.```console
gh artifacts-prune [] [-n|--no-interaction]
```If no repository is given, the repository of the current directory is used.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
© 2023 - 2024, Johannes Przymusinski