Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cometkim/cleankeeper
A GitHub Action to clean obsoleted greenkeeper branches
https://github.com/cometkim/cleankeeper
actions github-action greenkeeper
Last synced: 1 day ago
JSON representation
A GitHub Action to clean obsoleted greenkeeper branches
- Host: GitHub
- URL: https://github.com/cometkim/cleankeeper
- Owner: cometkim
- License: mit
- Archived: true
- Created: 2019-03-20T10:34:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-16T22:37:13.000Z (over 4 years ago)
- Last Synced: 2024-10-29T14:38:14.051Z (17 days ago)
- Topics: actions, github-action, greenkeeper
- Language: Shell
- Size: 15.6 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - cleankeeper
README
# Cleankeeper
A GitHub Action to clean obsoleted [Greenkeeper](https://greenkeeper.io/)'s branches
- Run on merge pull request event
- It will automatically removes branches which have:
- `greenkeeper/` prefix
- same package name with merged ref
- smaller version(semver or numeric) than merged ref
## ExampleIn your `.github/main.workflow`
```workflow
workflow "My Workflow" {
on = "pull_request"
resolves = ["Cleankeeper"]
}action "Cleankeeper" {
uses = "cometkim/cleankeeper@master"
secrets = ["GITHUB_TOKEN"]
env = {
PER_PAGE = "100"
}
}
```