ci: fix automerge caller to use working pr-auto-merge.yml@v2 - #85
Merged
Conversation
Replace the broken caller (pointing at renamed/absent auto_merge.yml or relying on drifted hardcoded check names) with the pattern used in terraform-az-modules/* and piloted in terraform-aws-s3#109: - Pin to pr-auto-merge.yml@v2 - Gate on dependabot actor - Route through azure_cloud:true code path (proper array input) - Wait only on tf-lint / tflint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Previous caller referenced an outdated/missing reusable workflow, causing every dependabot Auto-merge run to fail at startup (or stall on drifted hardcoded check names). The
autoapprove+automergejobs never fired, which is why this repo has dependabot PRs sitting atREVIEW_REQUIRED.Adopt the working pattern already proven in
terraform-az-modules/*and piloted inclouddrove/terraform-aws-s3#109:pr-auto-merge.yml@v2dependabot[bot]actorazure_cloud: true— opts into the working code path that usesfromJSON(inputs.tfchecks_azure)as a proper array inputtf-lint / tflint;tfsecdoes not attach a check-run on dependabot PRs so including it blocks auto-mergeContext
Part of a fan-out across ~95
terraform-aws-*repos to restore auto-merge of dependabot PRs. No repo content changes — workflow file only.Test plan
autoapprove+automergeand the PR merges asclouddrove-ci