github: Set up Dependabot to manage HashiCorp-owned Actions versioning #207
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This sets up Dependabot to manage version updates for HashiCorp-owned GitHub Actions; all other (third-party) version updates are already handled by HashiCorp's internal TSCCR tooling. TSCCR does not/cannot manage HashiCorp-owned Actions versioning which is why we need to bring in Dependabot to handle this component; see this memo (internal HashiCorp link) for details.
This PR also pins all HashiCorp-owned Actions used in this repo to using SHA hashes which is considered a security best-practice these days. This will force Dependabot to continue with this convention, and it is smart enough to update the comment on each of these lines to let us know which is the actual version that's being used.