dependabot[bot]
facad6de84
Bump jest-circus from 24.9.0 to 26.1.0 ( #109 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 24.9.0 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-circus )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 07:58:36 -04:00
Ross Brodbeck
2ede1ed234
Create dependabot.yml
2020-07-20 07:49:47 -04:00
dependabot[bot]
c95554e7b3
Bump lodash from 4.17.15 to 4.17.19 ( #108 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-20 07:48:55 -04:00
Ross Brodbeck
93883857f8
Update test.yml
2020-07-13 16:22:33 -04:00
Phillip Johnsen
f111c4f385
Allow for issues/PRs to be closed after manually being marked as stale ( #103 )
...
Previously this action would stop and skip all issues or pull requests
it found if no `stale-issue-message | stale-pr-message` option had
been configured.
Configuring `days-before-stale: -1` will activate that behaviour.
2020-07-13 16:20:45 -04:00
Phillip Johnsen
c2daa6ff62
Avoid changing default options in tests ( #102 )
...
Primarily because changing the default options shared amongst tests will
affect other tests.
2020-07-13 16:18:51 -04:00
Owen Voke
32507178a3
Add support for posting comment on closure ( #99 )
2020-07-13 13:05:59 -04:00
Andy McKay
e169e4e149
Allow ordering ( #97 )
...
* allow ordering of issue lookup
2020-06-23 13:55:24 -04:00
Ross Brodbeck
d7468118d7
Add API failure handling/logging ( #92 )
...
* Add API failure handling/logging
2020-06-08 14:18:22 -04:00
Ross Brodbeck
c72e3d7ff2
Fix stale closing logic by removing close date addition ( #93 )
2020-06-08 12:45:13 -04:00
Filip Jeremic
db0a20585c
Update issue.updated_at if we have just marked an issue stale ( #85 )
...
This is to ensure we do not close issues before days-before-close has
expired. Without this fix we can encounter a situation where an issue
gets marked as stale and it gets closed immediately without waiting
days-before-close number of days.
2020-05-29 09:32:20 -04:00
Ross Brodbeck
b6f9559915
Update logging to be info level, fix un-staling of issues ( #83 )
...
* The bot would un-stale issues because of how it checked staleness
* Made logging info by default so its easier to troubleshoot customer issues/runs
* Updated operation counts
2020-05-26 09:16:38 -04:00
Ross Brodbeck
96b682d29f
Fix an issue where the bot doesn't ignore its own comments ( #73 )
2020-05-18 20:33:59 -04:00
Ross Brodbeck
5ce6b77f2c
Fix issue close/stale dates ( #72 )
...
Added tests to confirm behavior.
2020-05-18 20:08:31 -04:00
PJ Quirk
71d46bfe23
Fix for logging error types instead of strings in the main try/catch ( #66 )
...
* Bump actions core for more lenient command inputs
* Fix issue with issues that are old and unlabeled
2020-05-12 15:23:00 -04:00
Ross Brodbeck
e611bf905b
Close stale issues even if they were just marked stale ( #64 )
2020-05-11 11:15:05 -04:00
Ross Brodbeck
1e900bc060
Update docs and version so we can move to v3 ( #63 )
...
* Update docs and version
* Fix readme typo
2020-05-11 10:54:55 -04:00
Ross Brodbeck
3838b887be
Remove stale labels and ignore stale issues with comments ( #58 )
...
* Ignore issues that have recent comments and ignore the stale label. Defaulting to this behavior but added an option to turn it off.
* Fix up tests a bit to make this runnable. Add a test for the logic.
* Add vscode debugging configuration.
2020-05-11 10:46:03 -04:00
micnncim
4f9b6a7a5c
Fix typo in IssueProcessor.ts ( #54 )
2020-05-04 13:19:08 -04:00
Farhad Safarov
8743296016
Correct example ( #47 )
2020-05-04 13:18:22 -04:00
dependabot[bot]
7328f2e6e5
Bump @actions/http-client from 1.0.7 to 1.0.8 ( #55 )
...
Bumps [@actions/http-client](https://github.com/actions/http-client ) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/actions/http-client/releases )
- [Changelog](https://github.com/actions/http-client/blob/master/RELEASES.md )
- [Commits](https://github.com/actions/http-client/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-04 13:17:26 -04:00
eric sciple
2b063ba4d4
Update readme to reference major version channel ( #49 )
2020-05-04 13:16:31 -04:00
James M. Greene
ae2c5c5308
Prevent processing of locked/closed issues/PRs ( #52 )
...
Fixes #50
Fixes #51
2020-04-27 07:53:58 -04:00
Ross Brodbeck
a23bda33c4
Update the readme, add a test ( #46 )
...
* Add a test to days = -1
* Update the readme on how to build it
2020-04-16 14:23:28 -04:00
Ross Brodbeck
78921b6863
one more fix to the actions yml
2020-04-16 14:05:24 -04:00
Ross Brodbeck
29c3838f9a
Fix parsing issues with action.yml
2020-04-16 14:03:58 -04:00
Ross Brodbeck
ae12f32ff1
Create test.yml
2020-04-16 13:58:47 -04:00
Ross Brodbeck
aad6ffa865
Refactor issue processor ( #45 )
...
* Refctor into an issue processor, add debug mode
* Move processor to use its own types so testing is easier
* Add more tests
2020-04-16 13:57:59 -04:00
Ryan Wilson-Perkin
6127f8ef7a
Allow multiple exempt labels ( #19 )
...
* Update description to clarify exempt labels
* [breaking change] Use array for exempt labels
* Switch to a comma separated string for exempt labels
* Update descriptions for multiple labels
* Update examples for exempt labels
* lint: apply fixes
* Re-generate transpiled output
2020-04-15 21:33:09 -04:00
Ross Brodbeck
e78f171ed1
Fix main entrypoint in action yml ( #43 )
2020-04-14 14:02:29 -04:00
Ross Brodbeck
60b5a6b134
Cleanup release ( #42 )
...
Fix up the release pipeline, add linting and clean up a bit.
2020-04-14 13:28:00 -04:00
Ross Brodbeck
d179b42b05
Fix closing tag in only-labels description
...
Fix closing tag in only-labels description
2020-04-14 13:23:46 -04:00
Tobias Diez
7ba95148ac
Update action.yml
2020-04-14 11:44:58 +02:00
Tobias Diez
e9da8a66a5
Fix closing tag in only-labels description
...
The `only-labels` description was missing the closing tag `'`.
2020-04-14 11:43:56 +02:00
Ross Brodbeck
3d5d474504
Merge pull request #22 from yuya-takeyama/only-labels-pr
...
Add only-labels option
2020-04-13 07:19:13 -04:00
Ross Brodbeck
54897a34f9
Fix labelsOnly description so it is easier to understand
...
Co-Authored-By: Stephan Miehe <49914758+stephanmiehe@users.noreply.github.com>
2020-04-13 07:17:15 -04:00
Ross Brodbeck
c5c8bac9c4
Merge pull request #16 from actions/dont-close-option
...
Add option to not close stale issues/prs
2020-04-13 07:12:39 -04:00
Ross Brodbeck
ee2e3ba115
Merge pull request #25 from actions/IAmHughes/update-docs
...
Update README.md example workflows to latest release version
2020-04-13 07:11:27 -04:00
Chris Patterson
0d6a8e5314
Merge pull request #26 from actions/ethomson/update_description
...
Update description
2019-12-10 11:22:42 -05:00
Chris Patterson
eb8d275a4a
Merge pull request #29 from actions/add-syntax-highlighting
...
Add syntax highlighting to examples
2019-12-10 11:22:23 -05:00
Alberto Gimeno
c2f51ac751
Update README.md
2019-11-27 16:04:40 +01:00
Edward Thomson
d6c1b70646
Update description
2019-11-08 16:47:32 +00:00
Thomas Hughes
1a8e37e7ad
Update README to latest release version
2019-11-01 13:43:25 +01:00
Yuya Takeyama
8588c16319
Add only-labels
2019-09-27 22:50:35 +09:00
Danny McCormick
b8e29997c6
Clean up
2019-09-05 09:57:15 -04:00
damccorm
2521dbb244
Add option to not close stale
2019-09-04 16:38:09 -04:00
Jeremy Epling
08796943dd
Merge pull request #14 from actions/kaylangan-per-day
...
Example runs once per day instead of per hour
2019-08-29 14:52:07 -04:00
Kayla Ngan
ded3b10c18
Example runs once per day instead of per hour
2019-08-29 14:50:13 -04:00
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