Viktor Varland and Mateusz Burzyński
225a1e8cbc
Add a throttling plugin to the used Octokit instance to retry requests after hitting secondary rate limits ( #286 )
...
* fix: prevent hitting github secondary rate limits
Adds the octokit plugin for throttling / rate-limiting to fix the
problem where action runs get blocked with a 403 error[1].
The `github.getOctokit`[2] function accepts a list of plugins, so this
passes in the `throttling` plugin[3] to be hooked into the octokit
instance.
It also needs some configuration to setup the `throttle` mechanisms,
passed in to the `getOctokit` function.
[1]: https://github.com/changesets/action/issues/192
[2]: https://github.com/actions/toolkit/blob/main/packages/github/src/github.ts#LL18C40-L18C40
[3]: https://github.com/octokit/plugin-throttling.js
* refactor: change rate limit callback signatures
Based on additional docs, the callbacks seem to have changes to their
signatures[1]. This change aligns this implementation with the docs[2].
[1]: https://octokit.github.io/rest.js/v19#throttling
[2]: https://github.com/octokit/plugin-throttling.js/blob/v5.1.1/src/index.ts#L90-L91
* chore: add changeset
* wire up typed throttle options
* Upgrade TS
* refactor: use console based logging
* Update .changeset/rotten-carrots-pump.md
---------
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com >
2023-05-06 10:52:18 +02:00
Mateusz Burzyński
b78f480998
Upgrade @actions/* dependencies ( #123 )
...
* Upgrade `@actions/*` dependencies
* bumps deps again
* add changeset
2022-11-08 10:26:23 +01:00
Mateusz Burzyński
898d125cee
Updated all Changesets dependencies ( #144 )
2022-01-27 07:36:21 +01:00
Jack Leslie and Mitchell Hamilton
d3db9eceaf
Added setupGitUser option to enable or disable setting up a default git user ( #131 )
...
* custom git user option
* Create two-dolls-promise.md
* Update two-dolls-promise.md
* change input name and update default
* Update .changeset/two-dolls-promise.md
Co-authored-by: Mitchell Hamilton <mitchell@hamil.town >
2022-01-07 15:27:29 +01:00
Mateusz Burzyński and Nicola Molinari
05c863d3f9
Switch to Changesets-based release process ( #118 )
...
* Switch to Changesets-based release process
* Bump version
* drop unused variable
* Update .github/workflows/version-or-publish.yml
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com >
* Push also to a release line branch when releasing
* Change node version used in the version-or-publish workflow
* Switch to using the local action
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com >
* build the action before trying to use it the workflow
* Add changeset and actually setup Changesets, lol
Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com >
2021-11-25 17:51:48 +01:00
Kevin Schaaf
b98cec9758
Update @manypkg/get-packages to fix some Lerna monorepos detection ( #113 )
2021-10-08 11:06:58 +02:00
Mateusz Burzyński
b5c0c12a1d
Throw custom error for MODULE_NOT_FOUND when loading @changesets/cli ( #76 )
2021-03-22 11:35:40 +10:00
dependabot[bot]
b3300fad33
Bump dot-prop from 4.2.0 to 4.2.1 ( #62 )
...
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases )
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 11:03:35 +01:00
Mateusz Burzyński
2c7afd615c
Upgrade @actions/* packages ( #40 )
2020-07-06 20:33:19 +10:00
Mateusz Burzyński
cd904b92c7
Fixed an issue with ignored package being included in PR body incorrectly ( #38 )
2020-07-06 19:08:41 +10:00
Mateusz Burzyński
07f96a1a01
Add prettier
2020-06-22 08:35:01 +02:00
Mateusz Burzyński
6035d31341
Migrate away from deprecated get-workspaces ( #34 )
2020-06-22 08:17:36 +10:00
Mateusz Burzyński and Mitchell Hamilton
ce39766e0a
Remove unused dependencies ( #18 )
...
Co-authored-by: Mitchell Hamilton <mitchell@hamil.town >
2020-01-26 08:10:26 +11:00
Mateusz Burzyński
58423801e6
Add pnpm support by upgrading changesets-related deps ( #17 )
2020-01-26 07:03:36 +11:00
dependabot[bot]
7f1673e033
Bump handlebars from 4.2.0 to 4.5.3 ( #14 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-12-30 11:19:34 +10:00
Mitchell Hamilton
76f43bb56a
Pre support ( #6 )
...
* First implementation of pre
* Remove an unused thing
* Fix a thing
* Another fix
* Fix some stuff
* Actually fix it
* Update things
2019-11-08 09:47:05 +10:00
mitchellhamilton
2a6d43cef5
'initial commit'
2019-09-16 17:18:53 +10:00
mitchellhamilton
8db2bfe48d
Fix a bug with getting the highest bump type
2019-09-11 15:49:39 +10:00
mitchellhamilton
9abd59ebcb
Add releases to GitHub releases
2019-09-07 11:15:08 +10:00
mitchellhamilton
4a62d21cd0
More stuff
2019-08-14 20:38:55 +10:00
mitchellhamilton
1278d96a46
Initial commit
2019-08-14 18:03:49 +10:00