Skip to content

Commit 5434095

Browse files
Update workflows
1 parent ec5d0d0 commit 5434095

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: go
22

33
on:
4-
push:
5-
branches:
6-
- main
74
pull_request:
85
branches:
96
- main
7+
paths:
8+
- '**.tf'
9+
- 'examples/**'
10+
- 'test/**'
11+
- '.github/workflows/go.yml'
1012

1113
jobs:
1214
test:

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ name: create-release
22

33
on:
44
pull_request:
5-
types:
6-
- closed
5+
types: [ closed ]
76
branches:
87
- main
8+
paths:
9+
- '.github/workflows/re;ease.yml'
10+
- '**.tf'
11+
- 'examples/**'
12+
- 'test/**'
913

1014
permissions:
1115
contents: write

.github/workflows/terraform-lint.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: terraform-lint
22
on:
3-
push:
4-
branches: [ main ]
53
pull_request:
6-
4+
branches: [ main ]
5+
paths:
6+
- '**.tf'
7+
- 'examples/**'
8+
- 'test/**'
9+
- '.github/workflows/terraform-lint.yml'
710

811
jobs:
912
tflint:

.github/workflows/update-readme.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: update-readme
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
8+
paths:
9+
- '.github/workflows/update-readme.yml'
10+
- 'README.md'
11+
- 'test/README.md'
712

813
permissions:
914
contents: write

0 commit comments

Comments
 (0)