dependabot[bot]
b80d40901f
build(deps): bump @octokit/rest from 18.3.0 to 18.3.2 ( #350 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.3.0 to 18.3.2.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.3.0...v18.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 06:38:50 -05:00
dependabot[bot]
10e1968c4f
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #342 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.15.2 to 4.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.16.1/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-04 06:38:32 -05:00
Geoffrey Testelin
ba1c02f61a
docs(only-labels): enhance the docs and fix duplicate ( #341 )
...
* docs(only-labels): remove duplicated option and improve descriptions
a bad rebase happend
* docs(readme): use a multi-line array and remove the optional column
the option column was not helpful since each value is optional
the multi-line array will allow to have a better UI in small devices and basically in GitHub too due to the max-width
* style(readme): break line for the statistics
* docs(readme): add a better description for the ascending option
* docs(action): add missing punctuation
2021-03-04 06:38:05 -05:00
Geoffrey Testelin
419a53bc05
feat(statistics): display some stats in the logs ( #337 )
...
* test: add more coverage
* docs: reorder and enhance typo
* docs(contributing): add more information about the npm scripts
* feat(statistics): add simple statistics
* feat(statistics): add more stats
* refactor(issues-processor): remove some options from the constructor
it should have been only useful for the tests
* feat(statistics): add stats for new stale or undo stale issues
* chore(rebase): handle rebase conflicts
2021-03-01 15:34:35 -05:00
Jose Veiga
63ae8ac024
Feat: add any-of-labels option ( #319 )
...
* feat: add any-of-labels option
* chore: run pack script
* fix: error in milestones spec
* chore: update readme
* chore: fix default value in action.yml
* chore: add some unit tests
* docs: update README.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* refactor: add return type to lambda
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
2021-03-01 11:05:53 -05:00
dependabot[bot]
8f5f223d0c
Bump typescript from 4.1.5 to 4.2.2 ( #340 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 11:04:26 -05:00
dependabot[bot]
aac59820db
Bump @typescript-eslint/eslint-plugin from 4.15.1 to 4.15.2 ( #331 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:21:56 -05:00
dependabot[bot]
4109d00d07
Bump @types/node from 14.14.28 to 14.14.31 ( #328 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.28 to 14.14.31.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:21:45 -05:00
dependabot[bot]
b3213c1ffa
Bump eslint from 7.20.0 to 7.21.0 ( #339 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 09:21:33 -05:00
dependabot[bot]
12d218f917
Bump ts-jest from 26.5.1 to 26.5.2 ( #332 )
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 26.5.1 to 26.5.2.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.5.1...v26.5.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 19:11:57 -05:00
dependabot[bot]
e1732283c7
Bump @typescript-eslint/parser from 4.15.1 to 4.15.2 ( #330 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.15.1 to 4.15.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.2/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 19:11:41 -05:00
dependabot[bot]
8439944051
Bump @octokit/rest from 18.1.1 to 18.3.0 ( #338 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.1.1 to 18.3.0.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.1.1...v18.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 19:11:32 -05:00
Geoffrey Testelin
0e95ddbecb
feat(only-labels): add 2 new options to distinguish issue and PR configs ( #336 )
...
* feat(assignees): add new option to avoid stale for assignees
closes #271
* test: add more coverage
* docs: fix readme format issue
* docs: reorder and enhance typo
* docs(contributing): add more information about the npm scripts
* feat(only-labels): add new options to customize it for issues and PR
closes #308
2021-02-28 19:08:33 -05:00
Geoffrey Testelin
836169b81a
feat(close-label): automatically remove close-label when no longer closed nor locked ( #334 )
...
* feat(assignees): add new option to avoid stale for assignees
closes #271
* test: add more coverage
* docs: fix readme format issue
* docs: reorder and enhance typo
* docs(contributing): add more information about the npm scripts
* docs(readme): update the default values to reflect the real applied ones
* feat(close-label): automatically remove it when no longer closed nor locked
closes #278
2021-02-28 19:07:54 -05:00
Geoffrey Testelin
ec96ff65b0
feat(assignees): add 6 new options to avoid stale for assignees ( #327 )
...
* feat(assignees): add new option to avoid stale for assignees
closes #271
* test: add more coverage
* docs: fix readme format issue
* docs: reorder and enhance typo
* docs(contributing): add more information about the npm scripts
2021-02-28 06:15:08 -05:00
dependabot[bot]
996798eb71
Bump eslint-plugin-jest from 24.1.3 to 24.1.5 ( #320 )
...
Code scanning / CodeQL-Build (push) Failing after 33s
Details
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.1.3 to 24.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.3...v24.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 10:07:28 -05:00
dependabot[bot]
6a0398d581
Bump @typescript-eslint/parser from 4.14.0 to 4.15.1 ( #317 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.14.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:28:21 -05:00
dependabot[bot]
7499904a44
Bump eslint from 7.19.0 to 7.20.0 ( #318 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:23:33 -05:00
dependabot[bot]
a8c9fbca3b
Bump @typescript-eslint/eslint-plugin from 4.14.0 to 4.15.1 ( #316 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.14.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:23:21 -05:00
dependabot[bot]
8df2fb36e6
Bump @types/node from 14.14.26 to 14.14.28 ( #315 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.26 to 14.14.28.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:23:08 -05:00
dependabot[bot]
d4d9b2a583
Bump ts-jest from 26.4.4 to 26.5.1 ( #313 )
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 26.4.4 to 26.5.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.4.4...v26.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:22:54 -05:00
dependabot[bot]
aee97aa05d
Bump typescript from 4.1.3 to 4.1.5 ( #312 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:19:23 -05:00
dependabot[bot]
d6e4b48a0d
Bump @octokit/rest from 18.0.12 to 18.1.1 ( #311 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.0.12 to 18.1.1.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.12...v18.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 06:19:11 -05:00
Geoffrey Testelin
6a493760cf
feat(milestones): add new options to exempt all milestones ( #291 )
...
* refactor: move and rename the interfaces/classes
closes #272
* docs: update the readme and action to describe the new options for milestones
* refactor: split the tests into multiple files
* feat(milestones): add new options to exempt all milestones
* test: add coverage for the default values
* test(milestones): add more coverage (wip)
* test(milestones): add more coverage for the multiple exempt milestones
* test: reduce duplicated code
* test: change some describes
* test: add more coverage
* test: add more coverage
* test: add final coverage
* build(tsc): add missing project flag to build with the right tsconfig
* test(milestones): use each to reduce the complexity of the tests
* chore: fix an eslint issue with prettier on windows
the end of line was wrong each time the os process the files
* docs: move the contribution section to a dedicated file
add more content to help the debug
* chore: make sure the rebase is ok
2021-02-16 06:18:48 -05:00
dependabot[bot]
07f3f88b6d
Bump @types/node from 14.14.21 to 14.14.26 ( #310 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.21 to 14.14.26.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 06:22:49 -05:00
dependabot[bot]
e2a65edb45
Bump @octokit/rest from 18.0.12 to 18.1.0 ( #300 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.0.12 to 18.1.0.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.12...v18.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 06:22:26 -05:00
dependabot[bot]
076138c5c7
Bump eslint from 7.18.0 to 7.19.0 ( #296 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.18.0...v7.19.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 06:21:25 -05:00
Falk Puschner
bf7548e250
📝 add delete branch option ( #309 )
2021-02-13 06:10:02 -05:00
Geoffrey Testelin
e96f31f877
refactor: move and rename the interfaces/classes ( #290 )
...
closes #272
2021-02-13 06:09:37 -05:00
Ross Brodbeck
9d6f46564a
Add rebuilt index
Code scanning / CodeQL-Build (push) Failing after 35s
Details
2021-02-05 06:56:22 -05:00
Michal Čihař
d21d307fd8
Log why issue is not marked as stale ( #301 )
...
This might help to understand some situations as described in https://github.com/actions/stale/issues/299 .
2021-02-05 06:53:23 -05:00
Michal Čihař
7164109781
Fixed should be stale condition ( #304 )
...
* Fixed should be stale condition
When different stale period is used for issues and pull requests, this code uses wrong one.
This was probably missed in https://github.com/actions/stale/pull/224
Fixes #299
* Add tests for #299
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
2021-02-05 06:52:44 -05:00
Ross Brodbeck
079c368275
Add code owners for tracking
2021-02-04 12:23:06 -05:00
dependabot[bot]
86561461b9
Bump @typescript-eslint/eslint-plugin from 4.13.0 to 4.14.0 ( #281 )
...
Code scanning / CodeQL-Build (push) Failing after 33s
Details
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 06:02:30 -05:00
dependabot[bot]
342b612d3c
Bump @types/jest from 26.0.15 to 26.0.20 ( #280 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.15 to 26.0.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 06:00:08 -05:00
dependabot[bot]
d09524cd2c
Bump @typescript-eslint/parser from 4.13.0 to 4.14.0 ( #282 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.14.0/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 05:59:51 -05:00
Geoffrey Testelin
f71123a6f7
feat(exempt): add new options to exempt the milestones ( #279 )
...
* feat(exempt): add new options to exempt the milestones
closes #270
* test(milestones): add coverage
* test(issue): add coverage
* chore(rebase): fix all errors due to the rebase
also made some changes regarding the change I made with the lint scripts and prettier. I did not saw that some scripts were already here and I created to more to keep the old ones as well
* test(milestone): add coverage
* chore(index): update index
* fix(checks): remove checks over optional number options
the code was actually handling the case where the values are NaN so it's fine
2021-01-19 05:54:16 -05:00
Ross Brodbeck
1b9f13b607
Add rebuilt package
2021-01-18 08:19:26 -05:00
dependabot[bot]
f8321eb62b
Bump eslint from 7.17.0 to 7.18.0 ( #274 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 08:17:48 -05:00
dependabot[bot]
6a04021499
Bump @types/node from 14.10.0 to 14.14.21 ( #276 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.10.0 to 14.14.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 08:17:37 -05:00
dependabot[bot]
7e83de7bef
Bump js-yaml from 3.14.0 to 4.0.0 ( #275 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.14.0 to 4.0.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.0...4.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 08:13:03 -05:00
dependabot[bot]
a9eccc216e
Bump semver from 7.3.2 to 7.3.4 ( #277 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 7.3.2 to 7.3.4.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/master/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.3.2...v7.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 08:12:50 -05:00
dependabot[bot]
0fa41d1841
Bump @octokit/rest from 18.0.9 to 18.0.12 ( #273 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.0.9 to 18.0.12.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.9...v18.0.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 08:12:26 -05:00
Geoffrey Testelin
f698371c0d
Add a start date option to ignore old issues and PRs ( #269 )
...
* docs(readme): add a small precision about the operations-per-run
closes #230
* chore(lint): ignore the lib folder for prettier
* chore(date): add a function to check if a date is valid
* chore(date): add a function to get a humanized date
* chore(date): add a function to check if the date is more recent than
* feat(date): add a start date to ignore old issues and PRs
closes #174
* docs(readme): change the date to match the description
* chore(date): add a better type for the date
* docs(date): add missing JSDoc about the return type
* chore(rebase): fix issues due to rebase
* docs(readme): fix table formatting issues
2021-01-17 20:22:36 -05:00
Geoffrey Testelin
7f340a46f3
Remove the stale label when labeled with an exempt one ( #268 )
...
* refactor(issue): create a dedicated function to remove the stale label
* refactor: prefix private methods with _
to make it consistent with others methods
* feat(label): remove the stale label when labeled with an exempt one
closes #136
* chore: fix logger issues due to rebase
@hross I think there is a room for improvement regarding the class creation of the issue logger (code duplication) but I do not see how to do it without changing a lot of stuff; do you have an idea?
* test: use strict equal and move the new test in a more logical position
* docs(readme): fix parsing error of the default values in the table
prettier was not liking the previous syntax
2021-01-16 20:13:19 -05:00
Ross Brodbeck
3f95874437
Use main instead of v3 for more coverage
2021-01-16 09:50:58 -05:00
Geoffrey Testelin
e6b77bc964
feat(logs): enhance the logs and add a prefix with the issue number ( #222 )
...
* feat(logs): enhance the logs and add a prefix with the issue number
* chore: use camelCase for constants
use the new logger for the new code due to the rebase
2021-01-16 09:49:50 -05:00
Geoffrey Testelin
552e4c60f0
feat(stale-and-close): add new options to change the days before close ( #224 )
...
* docs(readme): add new options in the documentation
* chore: update the action schema
* chore: parse the new arguments
* feat(stale-and-close): add new options to change the days before close
to avoid a breaking change and simplify the configuration the old options 'daysBeforeStale' and 'daysBeforePrClose' are kept and new options are available to override them with 'daysBeforeIssueStale', 'daysBeforePrStale', 'daysBeforeIssueClose' and 'daysBeforePrClose'
* chore: rename the issue type enum to remove the enum suffix
* chore: add missing dependency for eslint and typescript
also upgrade the parser
* chore: fix an issue with the linter for the shadow rules
it was not configured properly for TypeScript
* chore: use camelCase for constants
* chore: use camelCase for enum members
* chore: fix the tests
* chore: enhance prettier to also lint other kind of files
it was configured to only work with ts and it was not working well to be honest
also now the lint scripts will also run prettier
2021-01-16 08:28:29 -05:00
Ross Brodbeck
b12dccced8
Update package dependencies ( #267 )
2021-01-15 07:52:52 -05:00
Ross Brodbeck
7de5f1946d
Update stale.yml
2021-01-15 07:40:06 -05:00