Skip to content

Commit

Permalink
Add ability to skip processing for given labels (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
apexskier authored Oct 29, 2020
1 parent c943bdf commit 36987bb
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 73 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Override the comment posted on Issues and PRs. Set to the empty string to disabl

Add the given label. Multiple labels can be separated by commas. `{release_name}` will be replaced with the release's name. `{release_tag}` will be replaced with the release's tag.

**skip-label** (optional)

Skip processing if any of the given labels are present. Same processing rules as **label-template**. Default is "dependencies".

## Example

```yml
Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ inputs:
Included in release {release_link}
label-template:
description: Add the given label. Multiple labels can be separated by commas.
required: false
skip-label:
description: Skip commenting if any of the given label are present. Multiple labels can be separated by commas.
required: false
default: "dependencies"
runs:
using: node12
main: dst/index.js
128 changes: 74 additions & 54 deletions dst/index.js

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

Loading

0 comments on commit 36987bb

Please sign in to comment.