{"id":16322077,"url":"https://github.com/screendriver/gitlab-pipeline-deleter","last_synced_at":"2025-10-10T18:32:20.305Z","repository":{"id":36979170,"uuid":"299601715","full_name":"screendriver/gitlab-pipeline-deleter","owner":"screendriver","description":"🗑 A CLI tool that deletes old GitLab CI pipelines","archived":false,"fork":false,"pushed_at":"2025-03-10T18:42:09.000Z","size":6591,"stargazers_count":8,"open_issues_count":7,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-15T00:51:54.337Z","etag":null,"topics":["ci","cleanup","gitlab","hacktoberfest","pipelines"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gitlab-pipeline-deleter","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/screendriver.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-29T11:53:43.000Z","updated_at":"2025-03-10T02:50:14.000Z","dependencies_parsed_at":"2023-09-26T01:41:48.482Z","dependency_job_id":"50d6f706-4feb-4fcc-9102-ddac1a943b56","html_url":"https://github.com/screendriver/gitlab-pipeline-deleter","commit_stats":{"total_commits":1152,"total_committers":5,"mean_commits":230.4,"dds":0.4565972222222222,"last_synced_commit":"f049c4d77143d241284c070cd3fda2bb520081ad"},"previous_names":[],"tags_count":130,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screendriver%2Fgitlab-pipeline-deleter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screendriver%2Fgitlab-pipeline-deleter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screendriver%2Fgitlab-pipeline-deleter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screendriver%2Fgitlab-pipeline-deleter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screendriver","download_url":"https://codeload.github.com/screendriver/gitlab-pipeline-deleter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244790744,"owners_count":20510800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","cleanup","gitlab","hacktoberfest","pipelines"],"created_at":"2024-10-10T22:49:55.410Z","updated_at":"2025-10-10T18:32:20.211Z","avatar_url":"https://github.com/screendriver.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-pipeline-deleter\n\n[![GitHub Actions status](https://github.com/screendriver/gitlab-pipeline-deleter/workflows/CI/badge.svg)](https://github.com/screendriver/gitlab-pipeline-deleter/actions)\n\nA Node.js CLI tool that deletes old [GitLab CI](https://docs.gitlab.com/ee/ci/) pipelines.\n\n### Installation\n\n```sh\n$ npm install -g gitlab-pipeline-deleter\n```\n\n### Usage\n\n```\nUsage: glpd [options] [gitlab-url] [project-id] [access-token]\n\nDeletes old GitLab pipelines\n\nOptions:\n  -d --days \u003cdays\u003e  older than days (default: \"30\")\n  --trace           show stack traces for errors when possible (default: false)\n  -h, --help        display help for command\n```\n\nYou can use either the command line arguments `gitlab-url`, `project-id` and `access-token` (the `access-token` needs to be owner of the project. See https://docs.gitlab.com/ee/api/pipelines.html#delete-a-pipeline for more information) or you can create a `glpd.config.js` configuration file that exports an object. Both CommonJS (`.cjs`) and ECMAScript Modules (`.mjs`) are supported. All of the command line arguments are supported but needs to be written in `camelCase`:\n\n```js\nexport default {\n    gitlabUrl: 'https://example.com',\n    projectId: '42',\n    accessToken: '\u003cmy-token\u003e',\n    days: 30,\n    trace: false,\n};\n```\n\nIf you specify command line arguments **and** a configuration file the command line arguments will overwrite the values in the configuration file. So the CLI arguments has always precedence.\n\nMultiple project ids can be configured by providing a comma-separated list to the `projectId` argument.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscreendriver%2Fgitlab-pipeline-deleter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscreendriver%2Fgitlab-pipeline-deleter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscreendriver%2Fgitlab-pipeline-deleter/lists"}