Skip to content

Commit

Permalink
🗣️ Address CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
himynameisdave committed Nov 21, 2024
1 parent df07576 commit 3aa5808
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,18 +318,18 @@ This condition is best used when with a <a href="#schedule">schedule trigger</a>
Examples:

```yaml
age:
age-range:
at-most: 1d
```

Will label PRs or issues that were created at most one day ago.

```yaml
age:
at-least: 1d
age-range:
at-least: 1w
```

Will label PRs or issues that were created at least one day ago.
Will label PRs or issues that were created at least one week ago.

The syntax for values is based on a number, followed by a suffix:

Expand Down
2 changes: 1 addition & 1 deletion pkg/labeler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type SizeConfig struct {

type LabelMatcher struct {
Age string `yaml:"age,omitempty"` // Deprecated age config.
AgeRange *DurationConfig `yaml:"age,omitempty"`
AgeRange *DurationConfig `yaml:"age-range,omitempty"`
AuthorCanMerge string `yaml:"author-can-merge"`
Authors []string
AuthorInTeam string `yaml:"author-in-team"`
Expand Down

0 comments on commit 3aa5808

Please sign in to comment.