Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Regex Filter Action

Action allow to filter GitHub references (GITHUB_REF) using bash pattern matching. (more info)

Usage

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)"]
}

Attribution

Heavily inspired by GitHub Actions.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

About

Action allow to filter GitHub references (GITHUB_REF) using bash pattern matching.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages