Closed SBGoods closed 1 year ago
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What? This changes adds an optional git-ref parameter to both the Community and Hashicorp versions of the action. This allows users to optionally specify a specific branch, tag or SHA to checkout when using the Checkout Github Action. If this parameter is not used then the default behavior of using the reference or SHA that triggered the event or the default branch will be used.
Why? This parameter is useful for release workflows that push changes to the repository and want to use this action in the same workflow. Since the default behavior is using the reference or SHA that triggered the workflow, if there is a change made to the remote during the workflow, it will not be captured during the checkout in this release action.