Skip to content

Commit bf115ff

Browse files
authored
fix: Update CI configuration files to use latest version (#263)
1 parent 556f7c5 commit bf115ff

File tree

7 files changed

+35
-15
lines changed

7 files changed

+35
-15
lines changed

.github/workflows/lock.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'Lock Threads'
2+
3+
on:
4+
schedule:
5+
- cron: '50 1 * * *'
6+
7+
jobs:
8+
lock:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: dessant/lock-threads@v3
12+
with:
13+
github-token: ${{ secrets.GITHUB_TOKEN }}
14+
issue-comment: >
15+
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
16+
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
17+
issue-inactive-days: '30'
18+
pr-comment: >
19+
I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
20+
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
21+
pr-inactive-days: '30'

.github/workflows/pr-title.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
# Please look up the latest version from
1616
# https://github.com/amannn/action-semantic-pull-request/releases
17-
- uses: amannn/action-semantic-pull-request@v3.4.6
17+
- uses: amannn/action-semantic-pull-request@v5.0.2
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
with:

.github/workflows/pre-commit.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
directories: ${{ steps.dirs.outputs.directories }}
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121

2222
- name: Get root directories
2323
id: dirs
24-
uses: clowdhaus/terraform-composite-actions/directories@v1.3.0
24+
uses: clowdhaus/terraform-composite-actions/directories@v1.8.2
2525

2626
preCommitMinVersions:
2727
name: Min TF pre-commit
@@ -32,26 +32,26 @@ jobs:
3232
directory: ${{ fromJson(needs.collectInputs.outputs.directories) }}
3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v2
35+
uses: actions/checkout@v3
3636

3737
- name: Terraform min/max versions
3838
id: minMax
39-
uses: clowdhaus/terraform-min-max@v1.0.3
39+
uses: clowdhaus/terraform-min-max@v1.2.4
4040
with:
4141
directory: ${{ matrix.directory }}
4242

4343
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
4444
# Run only validate pre-commit check on min version supported
4545
if: ${{ matrix.directory != '.' }}
46-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
46+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.8.2
4747
with:
4848
terraform-version: ${{ steps.minMax.outputs.minVersion }}
4949
args: 'terraform_validate --color=always --show-diff-on-failure --files ${{ matrix.directory }}/*'
5050

5151
- name: Pre-commit Terraform ${{ steps.minMax.outputs.minVersion }}
5252
# Run only validate pre-commit check on min version supported
5353
if: ${{ matrix.directory == '.' }}
54-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
54+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.8.2
5555
with:
5656
terraform-version: ${{ steps.minMax.outputs.minVersion }}
5757
args: 'terraform_validate --color=always --show-diff-on-failure --files $(ls *.tf)'
@@ -62,21 +62,22 @@ jobs:
6262
needs: collectInputs
6363
steps:
6464
- name: Checkout
65-
uses: actions/checkout@v2
65+
uses: actions/checkout@v3
6666
with:
6767
ref: ${{ github.event.pull_request.head.ref }}
6868
repository: ${{github.event.pull_request.head.repo.full_name}}
6969

7070
- name: Terraform min/max versions
7171
id: minMax
72-
uses: clowdhaus/terraform-min-max@v1.0.3
72+
uses: clowdhaus/terraform-min-max@v1.2.4
7373

7474
# Special to this repo, we don't want to check this dir
7575
- name: Hide template dir
7676
run: rm -rf modules/_templates
7777

7878
- name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
79-
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.3.0
79+
uses: clowdhaus/terraform-composite-actions/pre-commit@v1.8.2
8080
with:
8181
terraform-version: ${{ steps.minMax.outputs.maxVersion }}
8282
terraform-docs-version: ${{ env.TERRAFORM_DOCS_VERSION }}
83+
install-hcledit: true

.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- main
87
- master
98
paths:
109
- '**/*.tpl'
@@ -20,7 +19,7 @@ jobs:
2019
if: github.repository_owner == 'terraform-aws-modules'
2120
steps:
2221
- name: Checkout
23-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2423
with:
2524
persist-credentials: false
2625
fetch-depth: 0

.github/workflows/stale-actions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v4
10+
- uses: actions/stale@v6
1111
with:
1212
repo-token: ${{ secrets.GITHUB_TOKEN }}
1313
# Staling issues and PR's

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.75.0
3+
rev: v1.76.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate

modules/README.md

-1
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,3 @@ List of Security Groups implemented as Terraform modules
5858
* [zipkin](https://github.com/terraform-aws-modules/terraform-aws-security-group/tree/master/modules/zipkin)
5959
* [zookeeper](https://github.com/terraform-aws-modules/terraform-aws-security-group/tree/master/modules/zookeeper)
6060
* [_templates](https://github.com/terraform-aws-modules/terraform-aws-security-group/tree/master/modules/_templates) - Source templates for all other modules. Change carefully, test thoughtfully!
61-

0 commit comments

Comments
 (0)