File tree Expand file tree Collapse file tree 3 files changed +30
-7
lines changed Expand file tree Collapse file tree 3 files changed +30
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Module release
1
+ name : Tag and Release
2
2
on :
3
3
push :
4
4
branches :
@@ -10,7 +10,7 @@ permissions:
10
10
pull-requests : write
11
11
12
12
jobs :
13
- release-module :
13
+ tag-release :
14
14
name : Release
15
15
runs-on : ubuntu-latest
16
16
steps :
30
30
run : |
31
31
set -eou pipefail
32
32
33
- new_version=$(autotag -vn)
33
+ new_version=$(autotag -vn --scheme=conventional )
34
34
gh release create v"${new_version}" --target main --title "v${new_version}" --generate-notes
35
35
env :
36
36
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,3 +2,21 @@ plugin "terraform" {
2
2
enabled = true
3
3
preset = " all"
4
4
}
5
+
6
+ plugin "aws" {
7
+ enabled = true
8
+ version = " 0.28.0"
9
+ source = " github.com/terraform-linters/tflint-ruleset-aws"
10
+ }
11
+
12
+ plugin "azurerm" {
13
+ enabled = true
14
+ version = " 0.25.1"
15
+ source = " github.com/terraform-linters/tflint-ruleset-azurerm"
16
+ }
17
+
18
+ plugin "google" {
19
+ enabled = true
20
+ version = " 0.26.0"
21
+ source = " github.com/terraform-linters/tflint-ruleset-google"
22
+ }
Original file line number Diff line number Diff line change @@ -11,19 +11,24 @@ vars:
11
11
tasks :
12
12
default :
13
13
cmds :
14
- - git add .
15
- - git commit -m "{{.CURRENT_DATE}}"
16
- - git push
17
- silent : true
14
+ - task : pre
18
15
19
16
hog :
20
17
cmds :
21
18
- trufflehog git file://. --since-commit HEAD --only-verified --fail
22
19
23
20
pre :
24
21
cmds :
22
+ - pre-commit autoupdate
25
23
- pre-commit run -a
26
24
25
+ push :
26
+ cmds :
27
+ - git add .
28
+ - git commit -m "{{.CURRENT_DATE}}"
29
+ - git push
30
+ silent : true
31
+
27
32
tag :
28
33
cmds :
29
34
- git push
You can’t perform that action at this time.
0 commit comments