Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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

## Example

In 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"
}
}
```