Skip to content

A GitHub action to detect if the diff for a push or pull_request event has changes outside of a list of paths

License

Notifications You must be signed in to change notification settings

KMAnju-2021/has-changes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Has Changes" Docker Action

This action sets a boolean output (has_changes) if the diff (push or pull_request event) includes changes outside of a provided list of paths.

Inputs

The list of paths to exclude. The action will use Bash pattern matching, so wildcards (*) are supported.

Outputs

has_changes

Whether ('yes' or 'no') the diff includes changes outside of the provided list of paths.

Example usage

uses: antrea-io/has-changes@v1
with:
  args: docs *.md ci

About

A GitHub action to detect if the diff for a push or pull_request event has changes outside of a list of paths

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 82.9%
  • Dockerfile 17.1%