Commit Graph

455 Commits

Author SHA1 Message Date
Evgenii Korolevskii 78d80e2378
Update CODEOWNERS 2022-12-23 00:06:12 +01:00
Ivan b43f1bcb15
Merge pull request #886 from akv-platform/apply-reusable-workflows
Update action to use reusable workflows
2022-12-22 11:08:14 +02:00
IvanZosimov 5325f2f14e Merge branch 'main' into apply-reusable-workflows 2022-12-22 10:00:56 +01:00
John Sudol 6f05e4244c
draft release for v7.0.0 (#888) 2022-12-20 16:09:39 -05:00
John Sudol eed91cbd05
Update how stale handles exempt items (#874) 2022-12-20 15:35:06 -05:00
IvanZosimov 942bb868e3 Run prettier, format code 2022-12-20 17:04:59 +01:00
IvanZosimov b23acf1dc9 Fix review points 2022-12-20 16:59:39 +01:00
IvanZosimov aab1763e57 Update npm all:ci script 2022-12-19 14:24:45 +01:00
IvanZosimov 7dfab7a600 Update action to use reusable-workflows repo 2022-12-19 14:13:43 +01:00
IvanZosimov 0f49addb38 Add links to reusable workflows 2022-12-15 16:22:18 +01:00
IvanZosimov f14a81872b Update workflows 2022-12-15 16:17:42 +01:00
IvanZosimov a19292a05f Update codeql-analysis.yml 2022-12-15 15:01:24 +01:00
IvanZosimov b7dd7fb519 Update package-lock.json 2022-12-15 14:37:48 +01:00
IvanZosimov f903b06fcc Update codeql-analysis.yml 2022-12-15 14:24:12 +01:00
IvanZosimov cd268b199d Update codeql-analysis.yml 2022-12-15 14:22:37 +01:00
IvanZosimov 6d0109286a Update workflows to use reusable-workflows 2022-12-15 13:47:58 +01:00
Ivan 10dc265f2c
Merge pull request #880 from akv-platform/update-stale-repo
Update issue and PR templates, add/delete workflow files
2022-12-15 13:25:09 +02:00
IvanZosimov 9c1eb3ff7e Update .md files and allign build-test.yml with the current test.yml 2022-12-14 17:39:32 +01:00
Ivan bc357bdd1b
Update .github/workflows/release-new-action-version.yml
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
2022-12-14 18:32:38 +02:00
Ivan 690ede5a62
Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: MaksimZhukov <46996400+MaksimZhukov@users.noreply.github.com>
2022-12-14 18:31:43 +02:00
IvanZosimov afbcabf8c3 Merge branch 'main' into update-stale-repo 2022-12-14 14:32:24 +01:00
IvanZosimov e364411631 Update name of codeql.yml file 2022-12-14 14:30:03 +01:00
Iván Reinoso García 627cef3f37
fix print outputs step (#859) 2022-12-13 15:31:07 +01:00
Ivan 975308fb9d
Merge pull request #876 from jongwooo/chore/use-cache-in-check-dist
Use cache in check-dist.yml
2022-12-08 15:36:21 +02:00
IvanZosimov 97a008721c Update licenses, run prettier on yml files 2022-12-08 14:14:09 +01:00
IvanZosimov 161093d861 Update the repo to the standards of maintaining team
In scope of this commit issues and PR temlates were updated, some
workflows were renamed and partly updated, some workflows such as
release-new-action-version.yml and licensed.yml were added.
The stale.yml workflow was deleted as it was considered as harmful
and inconvenient.
2022-12-08 13:27:13 +01:00
Jongwoo Han f6a9b6accf
Use cache in check-dist.yml
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2022-12-07 00:59:54 +09:00
Iván Reinoso García 65b52aff67
Allow daysBeforeStale options to be float (#841)
* feat: allow daysBeforeStale options to be float

* update dist
2022-10-19 12:08:31 +02:00
Francesco Renzi 0d6f830071
Update changelog for 6.0.1 2022-10-07 11:12:02 +01:00
Francesco Renzi b909bf8927
Merge pull request #839 from actions/rentziass/update-actions-core
Update @actions/core to 1.10.0
2022-10-07 11:05:38 +01:00
Francesco Renzi 5ebf00ea0e Update @actions/core to 1.10.0 2022-10-06 12:19:32 +01:00
Luke Tomlinson 3de2653986
Update changelog for v6.0.0 (#829)
* Update changelog for v6.0.0

* whitespace
2022-09-21 14:54:43 -04:00
David Allison 02e44c81cc
fix(options)!: Make `not_planned` the default `close-issue-reason` (#807)
* docs: add source for default testing options

* fix(options)!: Default to 'Close as not planned'

GitHub introduced an additional close reason 'Close as not planned':
https://github.blog/changelog/2022-05-19-the-new-github-issues-may-19th-update/

'stale' is a use case for this close reason

Fixes #789

BREAKING CHANGE:
`close-issue-reason` defaults to `not_planned` (previously: ``
which defaulted to `completed`)
This closes the issue as 'not planned' on GitHub rather than 'completed'

See: https://github.blog/changelog/2022-05-19-the-new-github-issues-may-19th-update
2022-09-20 14:01:22 -04:00
JoannaaKL 99b6c70959
Add include-only-assigned to the action.yml (#824) 2022-09-12 17:39:44 +02:00
Luke Tomlinson 8e8a0e6680
[Bugfix-795] Fix date comparison edge case (#816)
* Fix updatedAt and markedStaleOn date comparison

* Delete accidental file

* Refactor

* Cleanup

* cleanup
2022-09-12 09:38:46 -04:00
JoannaaKL 80962c1062
Update README.md (#821)
* Update README.md

* Update README.md

Co-authored-by: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com>

Co-authored-by: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com>
2022-09-12 14:41:28 +02:00
JoannaaKL 3e4418e47e
Issue 596/include only assigned (#817)
* Add new 'include-only-assigned' option

If set, only issues containing assignees will be processed

* Test new flag

* Update code comment

* Update src/classes/issues-processor.ts

Co-authored-by: Francesco Renzi <rentziass@github.com>

* Update index.js with typo fix

Co-authored-by: Francesco Renzi <rentziass@github.com>
2022-09-12 13:20:57 +02:00
Luke Tomlinson 33e37032bb
Update actions core to 1.9.1 (#812)
* Update @actions/core to 1.9.1

* Update dist/

* Fix conflicts
2022-09-07 11:23:27 -04:00
Luke Tomlinson 97911cb595
Update package.lock version (#811) 2022-09-07 11:17:21 -04:00
Dan Pavlov 65afee970e
docs(readme): add missing permission for delete-branch option in readme (#796) 2022-09-07 11:16:55 -04:00
dependabot[bot] 48bae5932f
build(deps): bump actions/setup-node from 1 to 3 (#761)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  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>
2022-07-29 16:28:44 -04:00
Luke Tomlinson 2b58cc900f
Fix issue when days-before-close is more than days-before-stale (#775) 2022-07-25 09:24:15 -04:00
Luke Tomlinson 532554b8a8 update Changelog 2022-07-15 09:08:35 -04:00
Zhongxiang Wang aaab997cce
fix(options): add missing `close-issue-reason` option (#772) 2022-07-11 13:49:18 -04:00
timsu92 136efb520f
docs: update example with new version of stale (#765) 2022-06-24 10:09:05 -04:00
Jacob Bandes-Storch 06d2a3904b
Add close-issue-reason option (#764)
* Add close-as-not-planned option

* update readme

* add to Option enum

* improve wording

* npm run pack

* updates from review

* fix tests and improve error message

* fix readme order
2022-06-23 17:43:36 -04:00
0x5c 29e800e1c8
Remove stale when updated without comment (#717)
The existing logic for `remove-stale-when-updated` only considers presence of
comments, ignoring the value of `issueHasUpdate`.

This commits fixes it so it follows the documented behaviour for that setting.

Fixes #715
2022-06-20 15:38:43 -04:00
dependabot[bot] 6b7f9717b7
build(deps): bump github/codeql-action from 1 to 2 (#760)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  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>
2022-06-20 13:50:11 -04:00
Luke Tomlinson 6c298b192c
Update CONTRIBUTING.md 2022-06-20 13:49:18 -04:00
Luke Tomlinson c048b97ed3
Update CONTRIBUTING.md 2022-06-20 13:48:36 -04:00