Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Randomize locking job schedule to prevent running into github ra…
…te limits (#410) <!-- Unless this is a very simple 1-line-of-code change, please create a new issue describing the change you're proposing first, then link to it from this PR. Read more about our process in our contributing guide: https://github.com/cdktf/.github/blob/main/CONTRIBUTING.md --> ### Description As seen in the following images, we seem to be running into a secondary rate limit when we try to lock issues within our provider repositories. <img width="1671" alt="image" src="https://github.com/cdktf/cdktf-provider-project/assets/573531/6fde8b66-653e-4cab-8231-222dae3f73d0"> <img width="645" alt="image" src="https://github.com/cdktf/cdktf-provider-project/assets/573531/588858f8-0546-4c3b-b9f4-611626c7ef2d"> <img width="740" alt="image" src="https://github.com/cdktf/cdktf-provider-project/assets/573531/0caa4347-2fbe-427e-b57e-88a7bd121d7c"> This PR tries to use a hash of the project name to generate a somewhat unique cron schedule across all our repositories. I have to say that I haven't really thought too hard about this, so if you feel there are problems in my approach, please let me know.
- Loading branch information