bulk-delete-github-environments

1.0.6 • Public • Published

Bulk Delete Github Environments

This is a script that makes it easy to delete all environments in a Github repository.

Usage

You will need to create a Github Personal Access Token with the repo scope and set it as the GITHUB_ACCESS_TOKEN environment variable. As of writing you cannot use Github fine-grained tokens.

Set the GITHUB_ORG and GITHUB_REPO environment variables to the organization and repository you want to delete environments from.

GITHUB_ACCESS_TOKEN=ghp_****** GITHUB_ORG=my-org GITHUB_REPO=my-repo \
npx bulk-delete-github-environments@latest

Readme

Keywords

none

Package Sidebar

Install

npm i bulk-delete-github-environments

Weekly Downloads

0

Version

1.0.6

License

See LICENSE in LICENSE.txt

Unpacked Size

2.63 kB

Total Files

3

Last publish

Collaborators

  • ntotten