Skip to content

Commit 4e587f3

Browse files
committed
fix: Update CI workflow versions to latest
1 parent 850d403 commit 4e587f3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ jobs:
118118
rmz -f /opt/hostedtoolcache/Ruby &
119119
rmz -f /opt/hostedtoolcache/go &
120120
121-
if ${{ github.repository }} == 'terraform-aws-modules/terraform-aws-security-group';
122-
then
121+
if [[ ${{ github.repository }} == terraform-aws-modules/terraform-aws-security-group ]]; then
123122
sudo rmz -f /usr/local/lib/android &
124123
sudo rmz -f /usr/share/dotnet &
125124
sudo rmz -f /usr/local/.ghcup &
@@ -141,6 +140,11 @@ jobs:
141140
id: minMax
142141
uses: clowdhaus/[email protected]
143142

143+
- name: Hide template dir
144+
# Special to this repo, we don't want to check this dir
145+
if: ${{ github.repository == 'terraform-aws-modules/terraform-aws-security-group' }}
146+
run: rm -rf modules/_templates
147+
144148
- name: Pre-commit Terraform ${{ steps.minMax.outputs.maxVersion }}
145149
uses: clowdhaus/terraform-composite-actions/[email protected]
146150
with:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ terraform.rc
3232
builds/
3333
__pycache__/
3434
*.zip
35+
.tox
3536

37+
# Local editors/macos files
3638
.DS_Store
3739
.idea

0 commit comments

Comments
 (0)