gitlab-branch-cleaner
v1.0.7
Published
  .
Usage
1. Get access token here with API access and project id from project details
2. Use project id and token to run the cleaner
npx gitlab-branch-cleaner --project-id "your_project_id" --private-token "your_private_token" --dry-run --stale-days-threshold 60 --protected-branches "main develop feature-branch" Local Setup (Development)
2. Clone the repo, install dependencies, Make changes and then run locally
pnpm build && node ./dist --project-id "<project-id>" --private-token "<personal-access-token>" --dry-run --stale-days-threshold 60 --protected-branches "main develop feature-branch"3. Increment version (patch / minor / major)
npm version patch4. Build
pnpm build5. Publish
pnpm run publish-to-npm