Skip to content

Commit 18eb251

Browse files
authored
Add userdata/** to workflow path filters (#149)
Changes to static config files like Caddyfile weren't triggering the tofu plan workflow, even though they affect infrastructure (via the instance_replacement_hash). Add 'opentofu/**/userdata/**' pattern to catch all userdata files.
1 parent 183e8f2 commit 18eb251

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/pr-tofu-plan-develop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- 'opentofu/**/*.bu'
3636
- 'opentofu/**/*.tftpl'
3737
- 'opentofu/**/*.sh'
38+
- 'opentofu/**/userdata/**'
3839
- 'docker/scripts/**'
3940
- '.github/workflows/pr-tofu-*.yml'
4041
- '.github/workflows/deploy-dev.yml'

0 commit comments

Comments
 (0)