From 06de5f4f74e246a9039b4f58baca9c79c3c1fd05 Mon Sep 17 00:00:00 2001 From: Gerardo Laracuente Date: Wed, 20 May 2026 15:12:58 -0400 Subject: [PATCH 1/4] fix: lint on feature branch code (INT-1582) --- .github/workflows/lint.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b5f7b15..0d5c14b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -2,6 +2,10 @@ name: Lint on: workflow_call: + inputs: + head-ref: + required: true + type: string secrets: GITHUB_TOKEN: required: true From 37fcaba14a5c685eba543a2c70b1ef4d492387c1 Mon Sep 17 00:00:00 2001 From: Gerry Laracuente Date: Wed, 20 May 2026 15:22:48 -0400 Subject: [PATCH 2/4] fix: add missing info to checkout step (INT-1582) --- .github/workflows/lint.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0d5c14b..8bcf1bd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,6 +24,8 @@ jobs: - name: Check out Git repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ inputs.head-ref }} + fetch-depth: 0 persist-credentials: false - name: Trunk Check uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4 From b8468d527e64aa5892615d6aaabe41827f11626e Mon Sep 17 00:00:00 2001 From: Gerry Laracuente Date: Thu, 21 May 2026 16:55:34 -0400 Subject: [PATCH 3/4] chore: finalize lint yaml and rename tf-test (INT-1582) --- .github/workflows/lint.yaml | 1 - .github/workflows/{test.yaml => tf-test.yaml} | 0 2 files changed, 1 deletion(-) rename .github/workflows/{test.yaml => tf-test.yaml} (100%) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8bcf1bd..31f80cf 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -25,7 +25,6 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: ref: ${{ inputs.head-ref }} - fetch-depth: 0 persist-credentials: false - name: Trunk Check uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4 diff --git a/.github/workflows/test.yaml b/.github/workflows/tf-test.yaml similarity index 100% rename from .github/workflows/test.yaml rename to .github/workflows/tf-test.yaml From 51f00b1af8f0b5806dc94bdf154b615d12345add Mon Sep 17 00:00:00 2001 From: Gerry Laracuente Date: Thu, 21 May 2026 17:07:36 -0400 Subject: [PATCH 4/4] chore: upgrade trunk-action (INT-1582) --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 31f80cf..a692e0a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -27,7 +27,7 @@ jobs: ref: ${{ inputs.head-ref }} persist-credentials: false - name: Trunk Check - uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b # v1.2.4 + uses: trunk-io/trunk-action@04ba50e7658c81db7356da96657e6e77f220bfa3 # v1.3.1 env: # NOTE: inject the GITHUB_TOKEN for the trunk managed tflint linter # https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting