Skip to content

Commit 64427ed

Browse files
Trigger terraform actions when we change the plan and apply actions. (#344)
1 parent 55595ff commit 64427ed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/apply.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
paths:
88
- 'terraform/production/*.tfvars'
99
- 'terraform/*.tf'
10+
- '.github/workflows/apply.yml'
11+
- '.github/workflows/plan.yml'
1012

1113
concurrency:
1214
group: terraform-actions

.github/workflows/plan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
paths:
77
- 'terraform/production/*.tfvars'
88
- 'terraform/*.tf'
9+
- '.github/workflows/apply.yml'
10+
# Do not trigger the plan action when it's been changed since this action has write permissions
911

1012
concurrency:
1113
group: terraform-actions

0 commit comments

Comments
 (0)