Action allow to filter GitHub references (GITHUB_REF) using bash pattern matching. (more info)
An example workflow to filter a branch by either master or staging:
workflow "Filter workflow by master or staging branch" {
on = "push"
resolves = "filter branch"
}
action "filter branch" {
uses = "juankaram/regex-filter@master"
needs = "push"
args = ["refs/heads/(master|staging)"]
}
Heavily inspired by GitHub Actions.
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.