terraform-google-modules / terraform-docs-samples

Terraform samples intended for inclusion in cloud.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: Add snippet bot

msampathkumar opened this issue · comments

TL;DR

There is no snippet bot to check to ensure that region tags are healthy.

Currently there is no check to ensure safe deletion or addition of region tags in code samples. This can potentially lead to issues when users click Github Link shown in Cloud Docs pages.

Example: Check snippet-bot.yml in https://github.com/GoogleCloudPlatform/python-docs-samples/tree/main/.github

Terraform Resources

NA

Detailed design

Adding snippet bot

Additional information

No response

During the recent PR I have observed that snippet bot did not trigger, so re-opening the issue.

Update: In the PR - #403, you can see that snippet bot is available and to forcefully run it, please add label snippet-bot:force-run

In the recent PRs like #406, snippet bot is automatically running. No need to forcefully run for New PRs.