File tree Expand file tree Collapse file tree 7 files changed +22
-24
lines changed Expand file tree Collapse file tree 7 files changed +22
-24
lines changed Original file line number Diff line number Diff line change 47
47
docs:
48
48
runs-on: ubuntu-latest
49
49
steps:
50
- - uses: actions/checkout@v2
50
+ - uses: actions/checkout@v3
51
51
with:
52
52
ref: { {" ${{" } } github.event.pull_request.head.ref { {" }}" } }
53
53
99
99
To enable you need to ensure a few things first:
100
100
101
101
- set `git-push` to `true`
102
- - use `actions/checkout@v2 ` with the head ref for PRs or branch name for pushes
102
+ - use `actions/checkout@v3 ` with the head ref for PRs or branch name for pushes
103
103
- PR
104
104
105
105
```yaml
@@ -109,7 +109,7 @@ To enable you need to ensure a few things first:
109
109
docs:
110
110
runs-on: ubuntu-latest
111
111
steps:
112
- - uses: actions/checkout@v2
112
+ - uses: actions/checkout@v3
113
113
with:
114
114
ref: { {" ${{" } } github.event.pull_request.head.ref { {" }}" } }
115
115
```
@@ -125,7 +125,7 @@ To enable you need to ensure a few things first:
125
125
docs:
126
126
runs-on: ubuntu-latest
127
127
steps:
128
- - uses: actions/checkout@v2
128
+ - uses: actions/checkout@v3
129
129
with:
130
130
ref: master
131
131
```
Original file line number Diff line number Diff line change 9
9
if : " !contains(github.event.head_commit.message, '[ci skip]')"
10
10
steps :
11
11
- name : Checkout
12
- uses : actions/checkout@v2
12
+ uses : actions/checkout@v3
13
13
with :
14
14
fetch-depth : 0
15
15
ref : ${{ github.event.pull_request.head.ref }}
@@ -105,14 +105,11 @@ jobs:
105
105
if : " !contains(github.event.head_commit.message, '[ci skip]')"
106
106
steps :
107
107
- name : Checkout
108
- uses : actions/checkout@v2
108
+ uses : actions/checkout@v3
109
109
110
110
- name : Terraform format
111
- uses : hashicorp/terraform-github-actions@master
111
+ uses : hashicorp/setup-terraform@v2
112
112
with :
113
- tf_actions_working_dir : examples
114
- tf_actions_version : ' 0.12.17'
115
- tf_actions_subcommand : ' fmt'
116
- tf_actions_comment : true
117
- env :
118
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
113
+ terraform_version : ' 0.12.17'
114
+
115
+ - run : terraform fmt examples
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v3
17
17
18
18
- name : Login to Docker
19
- uses : docker/login-action@v1
19
+ uses : docker/login-action@v2
20
20
if : env.REGISTRY_USERNAME != ''
21
21
with :
22
22
registry : quay.io
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout
15
- uses : actions/checkout@v2
15
+ uses : actions/checkout@v3
16
16
17
17
- name : Login to Docker
18
- uses : docker/login-action@v1
18
+ uses : docker/login-action@v2
19
19
if : env.REGISTRY_USERNAME != ''
20
20
with :
21
21
registry : quay.io
35
35
runs-on : ubuntu-latest
36
36
steps :
37
37
- name : Checkout
38
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v3
39
39
40
40
- run : |
41
41
VERSION=$(echo ${{ github.event.release.tag_name }} | cut -d. -f1)
Original file line number Diff line number Diff line change 13
13
if : " !contains(github.event.head_commit.message, '[ci skip]')"
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v3
17
17
18
18
- name : Run ShellCheck
19
19
uses : ludeeus/action-shellcheck@master
25
25
if : " !contains(github.event.head_commit.message, '[ci skip]')"
26
26
steps :
27
27
- name : Checkout
28
- uses : actions/checkout@v2
28
+ uses : actions/checkout@v3
29
29
30
30
- name : Install gomplate
31
31
run : |
Original file line number Diff line number Diff line change 37
37
docs :
38
38
runs-on : ubuntu-latest
39
39
steps :
40
- - uses : actions/checkout@v2
40
+ - uses : actions/checkout@v3
41
41
with :
42
42
ref : ${{ github.event.pull_request.head.ref }}
43
43
@@ -104,7 +104,7 @@ jobs:
104
104
To enable you need to ensure a few things first :
105
105
106
106
- set `git-push` to `true`
107
- - use `actions/checkout@v2 ` with the head ref for PRs or branch name for pushes
107
+ - use `actions/checkout@v3 ` with the head ref for PRs or branch name for pushes
108
108
- PR
109
109
110
110
` ` ` yaml
@@ -114,7 +114,7 @@ To enable you need to ensure a few things first:
114
114
docs:
115
115
runs-on: ubuntu-latest
116
116
steps:
117
- - uses: actions/checkout@v2
117
+ - uses: actions/checkout@v3
118
118
with:
119
119
ref: ${{ github.event.pull_request.head.ref }}
120
120
` ` `
@@ -130,7 +130,7 @@ To enable you need to ensure a few things first:
130
130
docs:
131
131
runs-on: ubuntu-latest
132
132
steps:
133
- - uses: actions/checkout@v2
133
+ - uses: actions/checkout@v3
134
134
with:
135
135
ref: master
136
136
` ` `
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ if [ -z "${INPUT_GIT_PUSH_USER_EMAIL}" ]; then
49
49
fi
50
50
51
51
git_setup () {
52
+ git config --global --add safe.directory /github/workspace
52
53
git config --global user.name " ${INPUT_GIT_PUSH_USER_NAME} "
53
54
git config --global user.email " ${INPUT_GIT_PUSH_USER_EMAIL} "
54
55
git fetch --depth=1 origin +refs/tags/* :refs/tags/* || true
You can’t perform that action at this time.
0 commit comments