Skip to content

ci: fix automerge caller to use working pr-auto-merge.yml@v2 - #85

Merged
clouddrove-ci merged 1 commit into
masterfrom
ci/fix-automerge-caller
Apr 22, 2026
Merged

ci: fix automerge caller to use working pr-auto-merge.yml@v2#85
clouddrove-ci merged 1 commit into
masterfrom
ci/fix-automerge-caller

Conversation

@clouddrove-ci

Copy link
Copy Markdown
Member

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 + automerge jobs never fired, which is why this repo has dependabot PRs sitting at REVIEW_REQUIRED.

Adopt the working pattern already proven in terraform-az-modules/* and piloted in clouddrove/terraform-aws-s3#109:

  • Pin to pr-auto-merge.yml@v2
  • Gate job on dependabot[bot] actor
  • Route via azure_cloud: true — opts into the working code path that uses fromJSON(inputs.tfchecks_azure) as a proper array input
  • Wait only on tf-lint / tflint; tfsec does not attach a check-run on dependabot PRs so including it blocks auto-merge

Context

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

  • Merge
  • On next dependabot PR, verify the Auto-merge run reaches autoapprove + automerge and the PR merges as clouddrove-ci

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
@clouddrove-ci
clouddrove-ci merged commit dc36795 into master Apr 22, 2026
7 checks passed
@clouddrove-ci
clouddrove-ci deleted the ci/fix-automerge-caller branch April 22, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants