answerdigital / terraform-modules

The repo for the infrastructure as code
MIT License
3 stars 4 forks source link

Github Ref Limit Issue - Action Intermittent Failure #37

Closed robg-test closed 1 year ago

robg-test commented 1 year ago

There is an issue where there are two many clones, meaning we are hitting the threshold of too many requests sometimes when all the pipelines run

I propose the following fix:

  1. Calculate comparing the base-ref and head-ref to determine the file has changed and then only execute the necessary actions instead of rebuilding the necessary fixes.

Note: This is absolutely required if we plug in Terratest