Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 576 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 576 Bytes

github-env-cleaner

☁️ Remove github deployment history.

A simple command line tool for removing repository's deployment history. (using github REST api)

Usage

First you need a access token with repo_deployment privilege. you can create a new token from Settings->Developer Settings->Personal Access Tokens.

pnpm dlx github-env-cleaner # or npx github-env-cleaner

Known limitations

Github will not allow you to remove active deployments. More information at https://docs.github.com/en/rest/deployments/deployments#delete-a-deployment