Commit Graph

461 Commits

Author SHA1 Message Date
Josh Soref 0e933d6760 Fix logging because not all items are issues
https://github.com/jsoref/stale-bot-debug/actions/runs/5828506506/job/15806335430#step:2:56

Processing the batch of issues  #1  containing  3  issues...
::group::[#3] Pull request #3
[#3] Pull request #3
...
::group::[#2] Issue #2
[#2] Issue #2
...
::group::[#1] Issue #1
[#1] Issue #1
...
Batch  #1  processed.
No more issues found to process. Exiting...
Statistics:
Processed items: 3
├── Processed issues: 2
└── Processed PRs   : 1

Clearly this action sometimes understands that users do not view all
items as issues.

This change applies the `items` nomenclature to this initial logging.
2023-08-11 10:38:46 -04:00
Josh Soref deab8514c2 Fix logging for removing nonexistent label
https://github.com/jsoref/stale-bot-debug/actions/runs/5828506506/job/15806335430#step:2:97

::group::[#2] Issue #2
[#2] Issue #2
...
  [#2] Removing all the labels specified via the labels-to-remove-when-stale (​https://github.com/actions/stale#labels-to-remove-when-stale​) option.
  [#2] Removing the label "label-to-add-when-unstale" from this issue...
  Error: [#2] Error when removing the label: "Label does not exist"

The quotes on this last line make it look like the action was trying to
remove a label named `Label does not exist`.

This change removes the quotes to make it clear that the text is just an
error message (which is implied by the `:`) as opposed to the name of a
label, which is the reading one gets from the inclusion of additional
quotes around the text.
2023-08-11 10:38:46 -04:00
Josh Soref c9d32d2c23 Fix logging for items transitioning to stale
The issue that the stale action finds in this log excerpt *is* stale,
it just isn't marked that way yet. Saying that the issue isn't stale
is misleading and contradictory.

https://github.com/jsoref/stale-bot-debug/actions/runs/5828506506/job/15806335430#step:2:97

::group::[#2] Issue #2
[#2] Issue #2
  [#2] Found this issue last updated at: 2023-08-09T14:33:12Z
...
  [#2] This issue is not stale
...
  [#2] This issue should be stale based on the last update date the 09-08-2023 (2023-08-09T14:33:12Z)
  [#2] This issue should be marked as stale based on the option days-before-issue-stale (​https://github.com/actions/stale#days-before-issue-stale​) (1)
  [#2] Marking this issue as stale
2023-08-11 10:38:46 -04:00
Sergey Dolin 184e7afe93
Merge pull request #1064 from actions/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.2.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.60.0 to 6.2.1
2023-08-04 12:17:06 +02:00
Ivan Zosimov 523885cf3c chore: update eslint-plugin, parser and eslint-plugin-jest 2023-08-04 11:38:38 +02:00
dependabot[bot] 2487a1dc2b
build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.60.0 to 6.2.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.2.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 23:00:09 +00:00
Sergey Dolin 60c722ee97
Merge pull request #1063 from actions/dependabot/npm_and_yarn/jest-29.6.2
build(deps-dev): bump jest from 29.6.1 to 29.6.2
2023-08-02 23:39:12 +02:00
dependabot[bot] f766dacc16
build(deps-dev): bump jest from 29.6.1 to 29.6.2
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.6.1 to 29.6.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.2/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-02 21:34:02 +00:00
Sergey Dolin 5ca2c2b512
Merge pull request #1050 from actions/dependabot/npm_and_yarn/tough-cookie-and-azure/ms-rest-js--removed
build(deps): bump tough-cookie and @azure/ms-rest-js
2023-08-02 23:30:43 +02:00
Sergey Dolin fcc38c89b2
Merge pull request #1056 from dusan-trickovic/fix/update-semver
Update Semver to 7.5.4 and add licensing
2023-08-02 23:30:29 +02:00
Sergey Dolin c850f73ba8
Merge pull request #1060 from actions/dependabot/npm_and_yarn/jest-and-types/jest-29.6.1
build(deps-dev): bump jest and @types/jest
2023-08-02 23:30:17 +02:00
Sergey Dolin d4393a716e
Merge pull request #1061 from actions/dependabot/npm_and_yarn/typescript-eslint/parser-5.62.0
build(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.62.0
2023-08-02 23:30:09 +02:00
Sergey Dolin e3c5558f1f
Merge pull request #1062 from actions/dependabot/npm_and_yarn/eslint-8.46.0
build(deps-dev): bump eslint from 8.43.0 to 8.46.0
2023-08-02 23:30:00 +02:00
dependabot[bot] ba33ad2dac
build(deps-dev): bump eslint from 8.43.0 to 8.46.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.43.0 to 8.46.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.43.0...v8.46.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 11:47:40 +00:00
Sergey Dolin 60f51589e2
Merge pull request #1057 from akv-platform/cache-miss
Do not restore state if the cache does not exist
2023-07-27 10:21:37 +02:00
Sergey Dolin dbb041abe2 Fix spelling 2023-07-27 07:16:19 +02:00
dependabot[bot] 331c73cfa6
build(deps-dev): bump @typescript-eslint/parser from 5.60.0 to 5.62.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.60.0 to 5.62.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.62.0/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>
2023-07-24 11:54:43 +00:00
dependabot[bot] 87e2adf864
build(deps-dev): bump jest and @types/jest
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together.

Updates `jest` from 29.5.0 to 29.6.1
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.1/packages/jest)

Updates `@types/jest` from 29.5.2 to 29.5.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 11:54:03 +00:00
Sergey Dolin 19b0faf982 do not restore if caches does not exist 2023-07-21 13:21:36 +02:00
Dusan Trickovic 7d39c14e50 Fix licensing for @azure/ms-rest-js 2023-07-20 13:05:24 +02:00
Dusan Trickovic 13074eec5e Update @types/semver dependency to latest 2023-07-20 01:27:15 +02:00
Dusan Trickovic 2eb6fe7447 Update Semver to 7.5.4 and add licensing 2023-07-20 01:08:42 +02:00
Sergey Dolin 47ab9e7777
Merge pull request #1032 from akv-platform/ratelimit
Log github api rate info
2023-07-14 09:57:07 +02:00
Sergey Dolin 4b8e745923 Add RateLimit 2023-07-11 09:36:52 +02:00
dependabot[bot] cc8e550d9c
build(deps): bump tough-cookie and @azure/ms-rest-js
Removes [tough-cookie](https://github.com/salesforce/tough-cookie). It's no longer used after updating ancestor dependency [@azure/ms-rest-js](https://github.com/Azure/ms-rest-js). These dependencies need to be updated together.


Removes `tough-cookie`

Updates `@azure/ms-rest-js` from 2.6.6 to 2.7.0
- [Changelog](https://github.com/Azure/ms-rest-js/blob/master/Changelog.md)
- [Commits](https://github.com/Azure/ms-rest-js/commits)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: "@azure/ms-rest-js"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-09 10:13:06 +00:00
Sergey Dolin 465330b7e2
Merge pull request #1033 from akv-platform/apirate
Turn the action into stateful
2023-07-06 08:00:12 +02:00
Sergey Dolin a5472823b9 fix dependencies 2023-07-05 17:16:02 +02:00
Sergey Dolin 6ed4ef197b fix README 2023-07-05 17:02:27 +02:00
Sergey Dolin 8f54fa9cb2 remove internal API client 2023-07-05 16:46:04 +02:00
Sergey Dolin ef7b227095 use highlevel actions cache api for restore 2023-07-05 16:42:40 +02:00
Sergey Dolin caeb593a24 use highlevel actions cache api for save 2023-07-05 16:38:08 +02:00
Sergey Dolin d8dfea6c6d use highlevel actions cache api with key-prefix 2023-07-05 10:43:19 +02:00
Sergey Dolin 19f709fe58 use highlevel actions cache api 2023-07-05 10:37:35 +02:00
Sergey Dolin 56c9f4224b Rename createHttpClient to createActionsCacheClient 2023-07-05 09:53:06 +02:00
Sergey Dolin a9c16cbf4d Rename ActionCache to ActionsCache 2023-07-04 18:29:58 +02:00
Sergey Dolin 765f3db869 Add integration tests 2023-07-03 20:25:25 +02:00
Sergey Dolin 57aa6deac4 Add integration tests 2023-07-03 15:07:52 +02:00
Sergey Dolin e8f3c1bb43 Add integration tests 2023-07-02 22:40:55 +02:00
Sergey Dolin fa4dca37f7 Add unit tests 2023-07-02 11:01:29 +02:00
Sergey Dolin ab422d01a2 Use cache instead of artifacts 2023-06-30 10:15:37 +02:00
Sergey Dolin c7d43763bf Use cache instead of artifacts 2023-06-23 21:29:53 +02:00
Sergey Dolin 6e0ace4210 Add logging 2023-06-23 09:23:17 +02:00
Sergey Dolin e953c7f258 Add logging 2023-06-23 09:21:22 +02:00
Sergey Dolin 1e059ce975 Do not mutate state in debug mode 2023-06-23 09:12:13 +02:00
Sergey Dolin 7109b30ab8 Fix license 2023-06-22 15:04:18 +02:00
Sergey Dolin 650b0fa951 Handle error during rehydration & persistings 2023-06-22 14:36:24 +02:00
Sergey Dolin eae709c29e fix artifact 2023-06-22 14:08:18 +02:00
Sergey Dolin 79fe616082 Add state 2023-06-22 13:54:24 +02:00
Sergey Dolin 51c18470e1 optimize pull request 2023-06-19 22:32:23 +02:00
Marko Zivic 02989dcb65
Merge pull request #1020 from akv-platform/remove-implicit-dependencies
Remove implicit dependencies
2023-05-23 12:48:13 +02:00