Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zuplo/delete-github-environments

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zuplo/delete-github-environments

Bulk delete github environments

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
0
Weekly downloads
 
Created
Source

Bulk Delete Github Environments

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

Usage

  1. Clone this repository:
git clone https://github.com/zuplo/zuplo
  1. Install the dependencies:
npm install
  1. Set Environment Variables

Copy the .env.example file in this directory to .env and fill in the required variables.

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

  1. Run the script:
npm start

You should see output like this:

Deleting environment: my-env...
Deleted environment: my-env2...

FAQs

Package last updated on 18 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc