File tree Expand file tree Collapse file tree 9 files changed +77
-88
lines changed Expand file tree Collapse file tree 9 files changed +77
-88
lines changed Original file line number Diff line number Diff line change 1
1
name : Generate Readme
2
2
3
3
on :
4
- # Open a PR to update README on merge to master (as necessary)
4
+ # Open a PR to update README on merge to main (as necessary)
5
5
push :
6
6
branches :
7
- - master
7
+ - main
8
8
9
9
# Update README nightly
10
10
schedule :
@@ -14,13 +14,12 @@ jobs:
14
14
update :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - name : Checkout
18
- uses : actions/checkout@v2
17
+ - uses : actions/checkout@v2
19
18
20
19
- name : readme/update
21
20
shell : bash
22
21
env :
23
- GITHUB_TOKEN : " ${{ secrets.GITHUB_BOT_TOKEN }}"
22
+ GITHUB_TOKEN : " ${{ secrets.GH_BOT_TOKEN }}"
24
23
run : |
25
24
make init
26
25
make readme/deps
@@ -29,12 +28,15 @@ jobs:
29
28
- name : Create Pull Request
30
29
uses : peter-evans/create-pull-request@v3
31
30
with :
32
- labels : automated pr
33
- token : ${{ secrets.GITHUB_BOT_TOKEN }}
31
+ labels : |
32
+ automated pr
33
+ readme
34
+ token : ${{ secrets.GH_BOT_TOKEN }}
34
35
commit-message : " docs(README): auto update all sections"
35
36
title : Automatic Update of README.md
36
37
body : |-
37
38
This is an auto-generated PR which updates the `README.md` from the `README.yaml`
38
39
using the [`cloudposse/build-harness`](https://github.com/cloudposse/build-harness).
39
40
branch : github-actions/auto-readme
40
41
branch-suffix : timestamp
42
+ base : main
Original file line number Diff line number Diff line change
1
+ name : Code checks and tests
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ push :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ lint :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+
17
+ - uses : hashicorp/setup-terraform@v1
18
+ with :
19
+ terraform_version : 0.13.5
20
+
21
+ - name : Run Terraform format
22
+ id : fmt
23
+ run : terraform fmt -check
24
+ continue-on-error : true
25
+
26
+ - name : Run Terraform init
27
+ id : init
28
+ run : terraform init -backend=false ./tests
29
+
30
+ - name : Run Terraform validate
31
+ id : validate
32
+ run : terraform validate ./tests
33
+
34
+ - name : Run Shellcheck
35
+ uses : reviewdog/action-shellcheck@v1
36
+ with :
37
+ github_token : ${{ secrets.GH_BOT_TOKEN }}
38
+ reporter : github-pr-review
39
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Release
2
2
3
3
on :
4
- push :
4
+ workflow_run :
5
+ workflows :
6
+ - " Code checks and tests"
5
7
branches :
6
- - master
8
+ - main
9
+ types :
10
+ - completed
7
11
8
12
jobs :
9
13
release :
10
- name : release
14
+ name : Release
11
15
runs-on : ubuntu-latest
12
16
steps :
13
- - name : Checkout
14
- uses : actions/checkout@v2
17
+ - uses : actions/checkout@v2
15
18
16
- - name : Semantic Release
17
- uses : cycjimmy/semantic-release-action@master
19
+ - name : Run Semantic Release
20
+ uses : cycjimmy/semantic-release-action@v2
18
21
id : semantic
19
22
with :
20
- branch : master
23
+ branch : main
21
24
extra_plugins : |
22
25
@semantic-release/git
23
26
@semantic-release/changelog
24
27
env :
25
- GITHUB_TOKEN : ${{ secrets.GITHUB_BOT_TOKEN }}
28
+ GITHUB_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
---
2
- branch : master
2
+ branch : main
3
3
4
4
plugins :
5
5
- " @semantic-release/commit-analyzer"
Original file line number Diff line number Diff line change 1
- terraform {
2
- required_version = " >= 0.12"
3
-
4
- backend "local" {}
5
- }
6
-
7
1
provider "aws" {
8
2
region = " eu-central-1"
9
3
}
Original file line number Diff line number Diff line change
1
+ .. / versions. tf
Original file line number Diff line number Diff line change 1
1
terraform {
2
- required_version = " ~> 0.12.0"
2
+ required_version = " >= 0.13"
3
+ required_providers {
4
+ archive = {
5
+ source = " hashicorp/archive"
6
+ }
7
+ aws = {
8
+ source = " hashicorp/aws"
9
+ }
10
+ null = {
11
+ source = " hashicorp/null"
12
+ }
13
+ random = {
14
+ source = " hashicorp/random"
15
+ }
16
+ }
3
17
}
You can’t perform that action at this time.
0 commit comments