Sign inSign up

samliu960522/github-workflow-clean

By samliu960522

•Updated over 2 years ago

Github Mass Workflow Clean Tool. simple and fast

Image
Developer tools
0

843

samliu960522/github-workflow-clean repository overview

⁠Github Mass Workflow Clean Tool

⁠Introduction

This tool is designed to clean up the workflow which has been disabled.

⁠Prerequisites
  1. Install Docker in your machine.
  2. Install Docker Compose in your machine.
  3. Generate a personal access token which has permission to update workflow in your Github account.
    • Click your profile icon in the top right corner of Github and select Settings.
    • Go to Developer settings -> Personal access tokens -> Fine-grained tokens -> Generate new token
    • Select repo and workflow in the Select scopes section.
    • Click Generate token and copy the token.
⁠How to use
  1. Download the docker-compose.yml file.
  2. Following the instruction, update the GIHUB_XXX environment variables in the docker-compose.yml file.
  3. Run the following command to start the tool in the same directory as the docker-compose.yml file.
    docker-compose up
    

please check the log after the running, if something delete failed due to the github api access rate limit, just rerun docker-compose up

repo: https://github.com/shanzhengliu/github-workflow-clean⁠

Tag summary

Content type

Image

Digest

sha256:6f877a061…

Size

7.2 MB

Last updated

over 2 years ago

docker pull samliu960522/github-workflow-clean