A GitHub (gh
) CLI extension to prune action artifacts from a repository.
Use the gh extension install
command to install this extension:
gh extension install cngJo/gh-artifacts-prune
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.
gh artifacts-prune [<REPOSITORY>] [-n|--no-interaction]
If no repository is given, the repository of the current directory is used.
This project is licensed under the MIT License. See the LICENSE file for details.
© 2023 - 2024, Johannes Przymusinski