Luke Tomlinson
7fb802b307
Bump release to 4.1.0
2021-12-10 14:28:19 -05:00
Luke Tomlinson
54197c7137
Merge pull request #602 from actions/revert-breaking-change
...
Revert "Merge pull request #586 from C0ZEN/feature/split-pr-and-issue…
2021-10-20 09:40:28 -04:00
Luke Tomlinson
3a971aeb80
Revert "Merge pull request #586 from C0ZEN/feature/split-pr-and-issue-options"
...
This reverts commit db699ab3b1
, reversing
changes made to b83d488cb9
.
2021-10-20 09:25:24 -04:00
Luke Tomlinson
fc4a5ff942
Merge pull request #595 from actions/dependabot/npm_and_yarn/types/jest-27.0.2
...
build(deps-dev): bump @types/jest from 27.0.1 to 27.0.2
2021-10-19 13:31:19 -04:00
Luke Tomlinson
db699ab3b1
Merge pull request #586 from C0ZEN/feature/split-pr-and-issue-options
...
feat(options): remove common options between the issues and PRs
2021-10-19 13:30:46 -04:00
dependabot[bot]
f8e08de81b
build(deps-dev): bump @types/jest from 27.0.1 to 27.0.2
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 27.0.1 to 27.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14 11:02:03 +00:00
Luke Tomlinson
b83d488cb9
Update dependencies ( #592 )
2021-10-13 11:42:09 -04:00
dependabot[bot]
1ff6cd74cb
build(deps): bump tmpl from 1.0.4 to 1.0.5 ( #575 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:02:38 -04:00
dependabot[bot]
86fed0e1f1
build(deps-dev): bump jest-silent-reporter from 0.4.0 to 0.5.0 ( #573 )
...
Bumps [jest-silent-reporter](https://github.com/rickhanlonii/jest-silent-reporter ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/rickhanlonii/jest-silent-reporter/releases )
- [Commits](https://github.com/rickhanlonii/jest-silent-reporter/compare/0.4.0...0.5.0 )
---
updated-dependencies:
- dependency-name: jest-silent-reporter
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:02:17 -04:00
TESTELIN Geoffrey
67004407a6
docs(readme): split the options between common, issues and prs
2021-10-08 22:42:12 +02:00
TESTELIN Geoffrey
b9a40762bf
feat: remove the remove-stale-when-updated option
...
BREAKING CHANGE:
The option remove-stale-when-updated was removed
2021-10-08 21:30:39 +02:00
TESTELIN Geoffrey
bab816b473
feat: remove the days-before-stale option
...
BREAKING CHANGE:
The option days-before-stale was removed
2021-10-08 21:06:12 +02:00
TESTELIN Geoffrey
6299c36a0d
feat: remove the only-labels option
...
BREAKING CHANGE:
The option only-labels was removed
2021-10-08 20:39:44 +02:00
TESTELIN Geoffrey
a8c5bb1c29
feat: remove the only-labels option
...
BREAKING CHANGE:
The option only-labels was removed
2021-10-08 20:26:58 +02:00
TESTELIN Geoffrey
1c81c38e2f
feat: remove the any-of-labels option
...
BREAKING CHANGE:
The option any-of-labels was removed
2021-10-08 20:18:01 +02:00
TESTELIN Geoffrey
f6a70aa856
feat: remove the exempt-milestones option
...
BREAKING CHANGE:
The option exempt-milestones was removed
2021-10-08 19:48:38 +02:00
TESTELIN Geoffrey
315391885d
feat: remove the exempt-all-milestones option
...
BREAKING CHANGE:
The option exempt-all-milestones was removed
2021-10-08 19:19:07 +02:00
TESTELIN Geoffrey
4665995b65
feat: remove the exempt-assignees option
...
BREAKING CHANGE:
The option exempt-assignees was removed
2021-10-08 19:06:51 +02:00
TESTELIN Geoffrey
b80ae639fa
feat: remove the exempt-all-assignees option
...
BREAKING CHANGE:
The option exempt-all-assignees was removed
2021-10-08 18:50:37 +02:00
TESTELIN Geoffrey
3021a55a47
feat: remove the ignore-updates option
...
BREAKING CHANGE:
The option ignore-updates was removed
2021-10-08 18:06:39 +02:00
Geoffrey Testelin
b98591d49e
docs(stale-issue-comment): update the docs to remove that omitting the option will not send a message ( #522 )
...
* chore(assignees): add logs
* docs(stale-issue-comment): update the docs to remove that omitting will not send a message
To be sure, what would be even better is to add a test using the default config (because the main issue is that the default options of the specs are not matching the ones from the action).
Closes #521
* test(comment): add more coverage to test the stale issue message
* docs(readme): improve the wording
Co-authored-by: Luke Tomlinson <luketomlinson@github.com>
* refactor: simplify the code to use the stats for the specs
* chore(rebase): fix rebase issue
* chore(statistics): fix issue due to rebase
Co-authored-by: Luke Tomlinson <luketomlinson@github.com>
2021-09-22 09:18:19 -04:00
Geoffrey Testelin
9912fa74d1
feat(draft-pr): add new option to not process PRs which are in draft ( #539 )
...
* chore(assignees): add logs
* feat(draft-pr): add new option to not process PRs which are in draft
* refactor(draft-pr): create a dedicated class to handle the logic
* chore(index): update index file
2021-09-20 09:37:32 -04:00
dependabot[bot]
303465a5d2
build(deps-dev): bump eslint-plugin-jest from 24.3.6 to 24.4.2 ( #570 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 24.3.6 to 24.4.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.3.6...v24.4.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 14:24:25 -04:00
JamieDanielson
dee9af8160
Fix ISO format on start-date in README ( #562 )
2021-09-17 14:23:49 -04:00
dependabot[bot]
31d06d7a0a
build(deps-dev): bump prettier from 2.3.1 to 2.4.1 ( #568 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.3.1 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 14:16:45 -04:00
dependabot[bot]
fcb25faea2
build(deps-dev): bump @typescript-eslint/parser from 4.26.1 to 4.31.1 ( #567 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.26.1 to 4.31.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.31.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 14:16:29 -04:00
dependabot[bot]
9dee5c72d9
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #566 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.26.0 to 4.31.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.31.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 09:57:08 -04:00
dependabot[bot]
0aa6030913
build(deps-dev): bump jest-circus from 26.6.3 to 27.2.0 ( #565 )
...
Bumps [jest-circus](https://github.com/facebook/jest/tree/HEAD/packages/jest-circus ) from 26.6.3 to 27.2.0.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v27.2.0/packages/jest-circus )
---
updated-dependencies:
- dependency-name: jest-circus
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 09:56:55 -04:00
dependabot[bot]
5aa0d3ef84
build(deps-dev): bump @types/jest from 26.0.23 to 27.0.1 ( #549 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 26.0.23 to 27.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 09:56:39 -04:00
Geoffrey Testelin
1cdda06bb3
feat(options): add new option ignore-updates to stale even with activity ( #540 )
...
* chore(assignees): add logs
* docs(readme): use the override syntax to simplify the reading
* docs(readme): add missing default options
* docs(readme): add 3 new options to ignore activity before stale
* chore(action): add 3 new options
* fix(removeStaleWhenUpdated): use the value of the action config as expected
Fixes #451
* chore(main): add 3 new options
* feat(ignore): add new class to ignore all activities before stale
* feat(option): add new options to ignore all activities before stale
* chore(index): update index file
* docs(readme): fix typo
* docs(readme): add missing empty row
* chore(rebase): fix logger issues due to rebase
* chore: aplly changes due to rebase
* refactor(naming): change the name of the options as suggested
* chore(logs): reverse the logs as well
* docs(readme): format the table of options
* refactor(naming): rename the the options
* style(rename): rename more updates wording to activities
* build(ci): run the test step as expected for a CI
instead of using a real linter with auto fix and the tests verbose as fuck
* chore: handle breaking changes due to new changes
* refactor(naming): rename and reverse the options
* style(tests): use plural for some describe
* docs(days-before-stale): list the new option
* chore(index): update index file
* chore: keep static methods on top
* chore(logs): remove useless log
2021-09-17 09:54:38 -04:00
Marko Kungla
002bc97450
add missing inputs to action.yml closes #551 ( #554 )
2021-09-14 10:13:17 -04:00
Falk Puschner
2e221262b1
docs(readme): add branch hint ( #532 )
...
* docs(readme): add branch hint
* using english words
Co-authored-by: Luke Tomlinson <luketomlinson@github.com>
Co-authored-by: Luke Tomlinson <luketomlinson@github.com>
2021-09-08 13:40:19 -04:00
Brian Cristante
27d80e173f
Create check-dist.yml ( #553 )
...
* Add check-dist.yml
* Fix triggers in licensed.yml
* Remove licensed.yml
2021-09-08 13:39:27 -04:00
Falk Puschner
86507610fb
🎨 improve changelog ( #531 )
2021-07-15 09:55:05 -04:00
Falk Puschner
ceeedec52e
🔥 using v4 & remove token ( #530 )
2021-07-15 09:48:15 -04:00
dependabot[bot]
0156089d02
Merge pull request #479 from actions/dependabot/npm_and_yarn/vercel/ncc-0.28.6
2021-07-14 18:31:11 +00:00
Luke Tomlinson
cdf15f641a
Prep for v4 ( #510 )
...
* Update dist for v4 release
* Create CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* Update CHANGELOG.md
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* Update CHANGELOG.md
* Update index.js
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
2021-07-14 10:21:39 -04:00
Luke Tomlinson
a78d0b721e
Make label comparison case insensitive ( #517 )
...
* Make label comparison case insensitive
* PR Feedback
2021-07-12 13:56:58 -04:00
Luke Tomlinson
d901397e11
Filter comments by content instead of actor ( #519 )
...
* Filter comments by content instead of actor
* Remove dead actor code
* WIP fix tests
* Fix test
2021-07-12 10:37:47 -04:00
Geoffrey Testelin
678bfc7a59
docs(readme): update the permissions docs to reflect the requirements of the default config ( #512 )
...
Fixes #511
2021-06-24 16:30:27 -04:00
Geoffrey Testelin
d3bfc50685
Revert "feat(options): add new options to avoid stale base on comments ( #494 )" ( #507 )
...
This reverts commit 1efddcbe9f
.
2021-06-15 17:16:31 -04:00
dependabot[bot]
4b47cddc05
build(deps-dev): bump @vercel/ncc from 0.27.0 to 0.28.6
...
Bumps [@vercel/ncc](https://github.com/vercel/ncc ) from 0.27.0 to 0.28.6.
- [Release notes](https://github.com/vercel/ncc/releases )
- [Commits](https://github.com/vercel/ncc/compare/0.27.0...0.28.6 )
---
updated-dependencies:
- dependency-name: "@vercel/ncc"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 14:09:26 +00:00
dependabot[bot]
f2ae27a59b
build(deps-dev): bump @typescript-eslint/parser from 4.22.1 to 4.26.1 ( #496 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.22.1 to 4.26.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.26.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 10:07:58 -04:00
dependabot[bot]
4d1e45b796
build(deps-dev): bump typescript from 4.2.4 to 4.3.2 ( #490 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 10:07:33 -04:00
Falk Puschner
92d4fc69d8
📝 Add requested permissions ( #492 )
...
* 📝 add requested permissions
* 📝 add minor improvement
* 📝 add required/recommended perimissions
* 📝 fix typo
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* 📝 update recommended permissions
* 📝 update required permissions
* 📝 change permissions
* 📝 update recommended permissions
* ✏️ remove typo
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
2021-06-14 10:05:16 -04:00
Geoffrey Testelin
1efddcbe9f
feat(options): add new options to avoid stale base on comments ( #494 )
...
* feat(options): add new options to avoid stale based on comments
Helping to close #441 , #470 , #435 ?
Closes #390 due to no activity
BREAKING CHANGES: the options related to remove-stale-when-updated will only check the updates, not the comment. It is only impactint the configurations using the value at false
* style(readme): fix table syntax due to rebase
* docs(readme): add permissions only for the new options
2021-06-14 09:56:55 -04:00
Geoffrey Testelin
f1017f33dd
fix(dry-run): forbid mutations in dry-run ( #500 )
...
Bring back the dry-run by default for the tests - bad idea to disable it sorry
Fix bad documentation array format
Fixes #499
2021-06-10 10:14:45 -04:00
Ben Villalobos
b1da9e1fb1
Add support for adding & removing labels when no longer stale ( #468 )
...
* Add support for adding & removing labels when no longer stale
* Add remove/addLabelsWhenUpdatedFromStale to relevant spec files. Modify arguments to remove ambiguity in 'labels' var & parameter
* Change parameters for clarity, let autoformat do its thing
* PR feedback: More useful logging when removing labels
* Wrap client calls in try catches
* Use Unstale in variable names
* Don't run add label logic under debug
* Add test for labels added to unstale issues
* PR Feedback: logging
* Update README
* Rename vars to labels-to-add/remove-when-unstale
* Apply doc suggestions from code review
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
* PR Feedback
Co-authored-by: Geoffrey Testelin <geoffrey.testelin@gmail.com>
2021-06-08 09:31:20 -04:00
Falk Puschner
52f5648db3
🎨 Add message grouping ( #483 )
...
* 🎨 add message grouping
* ⚗️ try output
* 🔥 remove unnecessary code
* ⬆️ bump deps
* 🎨 build project
* ⬆️ bump deps
* 🎨 formatting code
* ⬇️ revert bumps
* 🎨 using logger service
* 🎨 using package lock version 1
* 🎨 add engines keyword
* ♻️ create processIssue method
* ✨ add grouping method
* 🎨 build project
* 🎨 update engine declaration
* 💚 fix merge conflicts
2021-06-07 17:22:55 -04:00
Geoffrey Testelin
5f6f311ca6
fix(operations): fail fast the current batch to respect the operations limit ( #474 )
...
* fix(operations): fail fast the current batch to respect the operations limit
Instead of processing an entire batch of 100 issues before checking the operations left, simply do it before processing an issue so that we respect as expected the limitation of the operations per run
Fixes #466
* test(debug): disable the dry-run for the test by default
we will be able to test the operations per run and have more complete logs that could help us debug the workflow
* chore(logs): also display the stats when the operations per run stopped the workflow
* chore(stats): fix a bad stats related to the consumed operations
* test(operations-per-run): add coverage
* chore: update index
2021-06-07 15:20:11 -04:00