Skip to content

Commit b1e02e4

Browse files
authored
Terraform 0.14 upgrade (#89)
1 parent f947533 commit b1e02e4

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/auto-context.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727
make init
2828
make github/init/context.tf
2929
make readme/build
30-
echo "::set-output name=create_pull_request::true"
30+
echo "::set-output name=create_pull_request=true"
3131
fi
3232
else
3333
echo "This module has not yet been updated to support the context.tf pattern! Please update in order to support automatic updates."
3434
fi
3535
3636
- name: Create Pull Request
37-
if: steps.update.outputs.create_pull_request == 'true'
37+
if: {{ steps.update.outputs.create_pull_request == 'true' }}
3838
uses: cloudposse/actions/github/create-pull-request@0.22.0
3939
with:
4040
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}

.github/workflows/validate-codeowners.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,10 @@ jobs:
99
- name: "Checkout source code at current commit"
1010
uses: actions/checkout@v2
1111
- uses: mszostok/codeowners-validator@v0.5.0
12-
if: github.event.pull_request.head.repo.full_name == github.repository
13-
name: "Full check of CODEOWNERS"
1412
with:
1513
# For now, remove "files" check to allow CODEOWNERS to specify non-existent
1614
# files so we can use the same CODEOWNERS file for Terraform and non-Terraform repos
1715
# checks: "files,syntax,owners,duppatterns"
1816
checks: "syntax,owners,duppatterns"
1917
# GitHub access token is required only if the `owners` check is enabled
2018
github_access_token: "${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}"
21-
- uses: mszostok/codeowners-validator@v0.5.0
22-
if: github.event.pull_request.head.repo.full_name != github.repository
23-
name: "Syntax check of CODEOWNERS"
24-
with:
25-
checks: "syntax,duppatterns"

0 commit comments

Comments
 (0)