Skip to content

Commit

Permalink
feat(check-merge-safety): add ignore globs (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
danadajian authored Feb 15, 2023
1 parent 68b968d commit 2690a90
Show file tree
Hide file tree
Showing 31 changed files with 64 additions and 31 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@ The following parameters can be used for additional control over when it is safe

* `paths`: These are the file paths to all of a repo's projects (usually paths to standalone packages)
* This is useful for monorepos with multiple projects which are decoupled from each other but are affected by global dependencies.
* `ignore_globs`: These are glob patterns that, if out of date on a PR, will not prevent merge
* example: `ignore_globs: **.md`
* `override_filter_paths`: These are the file paths that, if out of date on a PR, will prevent merge no matter what files the PR is changing
* example: `override_filter_paths: package.json,package-lock.json`
* example: `override_filter_paths: package.json,package-lock.json`
* `override_filter_globs`: These are glob patterns for `override_filter_paths`

### [close-pr](.github/workflows/close-pr.yml)
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ inputs:
paths:
description: 'A list of file paths (newline/comma separated)'
required: false
ignore_globs:
description: 'A list of file path globs to ignore (newline/comma separated)'
required: false
extensions:
description: 'A list of file extensions (new line separated)'
required: false
Expand Down
2 changes: 1 addition & 1 deletion dist/0.index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2690a90

Please sign in to comment.