Skip to content

re-actors/filter-event-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Github Action to filter on event fields

Use JS expressions to filter execution of Github Actions on event payloads. The JSON parsed event is available as event. Pass the expression as the args to the action.

Usage

An example workflow to block deleted branches:

workflow "Remove" {
  on = "push"
  resolves = ["on deleted branches only"]
}

action "on deleted branches only" {
  uses = "dschep/filter-event-action@master"
  args = "event.deleted"
}

About

A Github Action to filter by event contents

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 71.8%
  • JavaScript 28.2%