Commit Graph

220 Commits

Author SHA1 Message Date
Ryan Wilson-Perkin 9f69ef12ad Feature: Exempt labels from action (#11)
* Change name to isLabeled for re-use with "exempt"

* Add args for exempt labels

* Skip operation if labeled exempt

* Only check for exempt label if defined

Since the exempt label parameter is not required, we don't want to both
checking for it if it was not defined.

* Don't reduce operationsLeft if exempt

This variable just tracks the number of operations we're using to avoid
rate limiting. Since the exempt check wouldn't result in a rate-limited
request, we don't need to reduce the variable.

* Update the action.yml with new exempt values

* Update README with example of exempt labels

* Remove redundant defaults
2019-08-27 15:58:14 -04:00
Edward Thomson cc7f3505fc Spelling fixes in action description (#7)
Fix typo 'iusses' -> 'issues'.  Also update 'prs' to 'pull requests'.
2019-08-19 14:34:16 -04:00
John Briggs 0cad222e9d Fix wasLastUpdatedBefore to be in days, not hours (#8)
The parameters and variables names make it seem like this is the intended behavior.
2019-08-19 14:28:41 -04:00
Shawn Napora 903ff7344d
Merge pull request #6 from actions/case-insensitive-bugfix
bugfix for case insensitive issues
2019-08-07 10:42:01 -04:00
Shawn Napora 898b0bc63f format, IssueLabels -> IssueLabel 2019-08-07 10:36:13 -04:00
Danny McCormick 4924c684b5
More nits 2019-08-07 10:33:00 -04:00
Danny McCormick c7694b0cea
Packag nits (#5) 2019-08-07 10:19:42 -04:00
Shawn Napora 1acc1d62d9 bugfix for case insensitive issues 2019-08-07 10:14:20 -04:00
Shawn Napora f9ffc05520
Merge pull request #4 from actions/case-insensitive-label
Update label comparison to be case insensitive
2019-08-07 09:32:59 -04:00
Shawn Napora 27d7ba7378
Merge pull request #3 from actions/optional-pr
Fix pr message to be optional
2019-08-07 09:32:33 -04:00
Shawn Napora 9e2da93435 added debug 2019-08-07 09:31:04 -04:00
Shawn Napora 9ad2bf1e30 updated label comparison to be case insensitive 2019-08-06 18:29:11 -04:00
Shawn Napora 1aa89de5b1 fix pr message to be optional 2019-08-06 18:26:47 -04:00
Shawn Napora 552417765d
Reflect updated workflow 2019-08-06 18:12:22 -04:00
Shawn Napora 8b3b2f9d81
Clean up workflow yaml examples. 2019-08-06 17:51:08 -04:00
Shawn Napora a2d191623a update readme 2019-08-06 17:44:47 -04:00
Shawn Napora 1eec735134 remove lib and node_modules 2019-08-06 17:39:28 -04:00
Danny McCormick dc7133054e Add most recent action 2019-08-06 16:25:08 -04:00
Chris Patterson fa4fd2aed4
Update close_stale.yml 2019-08-03 21:41:11 -04:00
Chris Patterson 62b122fb5f Initial import 2019-08-03 21:34:59 -04:00