There's a github action dbt-core uses for this, we can probably adopt the same approach. https://github.com/dbt-labs/dbt-core/pull/5065/ TODO: Look at the shared actions repository and see if this has made its way over there. If not we might want to move it over.