Skip to content

Commit fefba94

Browse files
authored
Merge pull request #87 from terraform-docs/update-deps
Update dependancies
2 parents 561fc05 + 088f74c commit fefba94

File tree

7 files changed

+22
-24
lines changed

7 files changed

+22
-24
lines changed

.github/templates/README.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
docs:
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v3
5151
with:
5252
ref: {{"${{"}} github.event.pull_request.head.ref {{"}}"}}
5353

@@ -99,7 +99,7 @@ jobs:
9999
To enable you need to ensure a few things first:
100100

101101
- 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
103103
- PR
104104

105105
```yaml
@@ -109,7 +109,7 @@ To enable you need to ensure a few things first:
109109
docs:
110110
runs-on: ubuntu-latest
111111
steps:
112-
- uses: actions/checkout@v2
112+
- uses: actions/checkout@v3
113113
with:
114114
ref: {{"${{"}} github.event.pull_request.head.ref {{"}}"}}
115115
```
@@ -125,7 +125,7 @@ To enable you need to ensure a few things first:
125125
docs:
126126
runs-on: ubuntu-latest
127127
steps:
128-
- uses: actions/checkout@v2
128+
- uses: actions/checkout@v3
129129
with:
130130
ref: master
131131
```

.github/workflows/ci.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: "!contains(github.event.head_commit.message, '[ci skip]')"
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
1515
ref: ${{ github.event.pull_request.head.ref }}
@@ -105,14 +105,11 @@ jobs:
105105
if: "!contains(github.event.head_commit.message, '[ci skip]')"
106106
steps:
107107
- name: Checkout
108-
uses: actions/checkout@v2
108+
uses: actions/checkout@v3
109109

110110
- name: Terraform format
111-
uses: hashicorp/terraform-github-actions@master
111+
uses: hashicorp/setup-terraform@v2
112112
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

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
- name: Login to Docker
19-
uses: docker/login-action@v1
19+
uses: docker/login-action@v2
2020
if: env.REGISTRY_USERNAME != ''
2121
with:
2222
registry: quay.io

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616

1717
- name: Login to Docker
18-
uses: docker/login-action@v1
18+
uses: docker/login-action@v2
1919
if: env.REGISTRY_USERNAME != ''
2020
with:
2121
registry: quay.io
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939

4040
- run: |
4141
VERSION=$(echo ${{ github.event.release.tag_name }} | cut -d. -f1)

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: "!contains(github.event.head_commit.message, '[ci skip]')"
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
- name: Run ShellCheck
1919
uses: ludeeus/action-shellcheck@master
@@ -25,7 +25,7 @@ jobs:
2525
if: "!contains(github.event.head_commit.message, '[ci skip]')"
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929

3030
- name: Install gomplate
3131
run: |

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
docs:
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
4141
with:
4242
ref: ${{ github.event.pull_request.head.ref }}
4343

@@ -104,7 +104,7 @@ jobs:
104104
To enable you need to ensure a few things first:
105105

106106
- 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
108108
- PR
109109

110110
```yaml
@@ -114,7 +114,7 @@ To enable you need to ensure a few things first:
114114
docs:
115115
runs-on: ubuntu-latest
116116
steps:
117-
- uses: actions/checkout@v2
117+
- uses: actions/checkout@v3
118118
with:
119119
ref: ${{ github.event.pull_request.head.ref }}
120120
```
@@ -130,7 +130,7 @@ To enable you need to ensure a few things first:
130130
docs:
131131
runs-on: ubuntu-latest
132132
steps:
133-
- uses: actions/checkout@v2
133+
- uses: actions/checkout@v3
134134
with:
135135
ref: master
136136
```

src/docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if [ -z "${INPUT_GIT_PUSH_USER_EMAIL}" ]; then
4949
fi
5050

5151
git_setup() {
52+
git config --global --add safe.directory /github/workspace
5253
git config --global user.name "${INPUT_GIT_PUSH_USER_NAME}"
5354
git config --global user.email "${INPUT_GIT_PUSH_USER_EMAIL}"
5455
git fetch --depth=1 origin +refs/tags/*:refs/tags/* || true

0 commit comments

Comments
 (0)