mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 07:33:32 -06:00
c2ec25e359
At the risk of a little bit of hidden spooky action at a distance, this will slightly change the behavior of the "goimports check" to compare against the base branch of a PR rather than to origin/main if we happen to find one of the environment variables that GitHub Actions sets automatically in its runners. This is targeting our "checks.yml" workflow in particular. The intention here is to avoid misreporting files that haven't actually changed when a PR is targeting a branch other than the main branch, such as directly targeting a historical release branch. We'll still run against origin/main when we're not running in GitHub Actions, since that's _typically_ the correct branch to use for new work, even if it will eventually get backported to a release branch. |
||
---|---|---|
.. | ||
build.sh | ||
changelog-links.sh | ||
debug-terraform | ||
exhaustive.sh | ||
gofmtcheck.sh | ||
gogetcookie.sh | ||
goimportscheck.sh | ||
staticcheck.sh |