Skip to content

Commit 2e61a07

Browse files
moritzzimmerclaude
andauthored
chore(github): harden workflows and bump tool versions (#182)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6933879 commit 2e61a07

5 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/pr-title.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ on:
77
- edited
88
- synchronize
99

10+
permissions:
11+
pull-requests: read
12+
1013
jobs:
1114
main:
1215
name: validate
1316
runs-on: ubuntu-latest
1417
steps:
15-
- uses: amannn/action-semantic-pull-request@v6
18+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 #v6.1.1
1619
env:
1720
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1821
with:

.github/workflows/stale.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@ on:
33
schedule:
44
- cron: '0 0 * * *'
55

6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
610
jobs:
711
stale:
812
runs-on: ubuntu-latest
913
steps:
10-
- uses: actions/stale@v10
14+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f #v10.2.0
1115
with:
1216
repo-token: ${{ secrets.GITHUB_TOKEN }}
1317

.github/workflows/static-checks.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v6
29+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
3030

3131
- name: Get Terraform version
3232
uses: clowdhaus/terraform-min-max@a86951cbe89f4d15caec805f36aa1dd68863ae32 #v2.1.0
@@ -47,12 +47,12 @@ jobs:
4747

4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v6
50+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
5151

5252
- name: pre-commit ${{ matrix.version }}
5353
uses: clowdhaus/terraform-composite-actions/pre-commit@462243b714d762cbcac6732098e9fdb4ab236cb7 #v1.14.0
5454
with:
5555
terraform-version: ${{ matrix.version }}
5656
install-trivy: true
57-
trivy-version: '0.67.0'
57+
trivy-version: '0.69.2'
5858
args: '--all-files --color always --show-diff-on-failure --verbose'

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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.101.0
3+
rev: v1.105.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_validate

.tflint.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ config {
44

55
plugin "aws" {
66
enabled = true
7-
version = "0.42.0"
7+
version = "0.45.0"
88
source = "github.com/terraform-linters/tflint-ruleset-aws"
99
}
1010

0 commit comments

Comments
 (0)