You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
659 B

  1. # gitlab-branch-cleanup
  2. Cleanup old branches in a GitLab project
  3. ## Installation
  4. ```shell
  5. pip install -r requirements.txt
  6. python main.py --help
  7. ```
  8. ## Usage
  9. ```console
  10. $ export GITLAB_API_TOKEN=foobar
  11. $ python main.py kargo-ci/kubernetes-sigs-kubespray
  12. Deleting branch pr-5220-containerd-systemd from 2020-02-17 ...
  13. Deleting branch pr-5561-feature/cinder_csi_fixes from 2020-02-17 ...
  14. Deleting branch pr-5607-add-flatcar from 2020-02-17 ...
  15. Deleting branch pr-5616-fix-typo from 2020-02-17 ...
  16. Deleting branch pr-5634-helm_310 from 2020-02-18 ...
  17. Deleting branch pr-5644-patch-1 from 2020-02-15 ...
  18. Deleting branch pr-5647-master from 2020-02-17 ...
  19. ```