From d86e84c1eb84db09a1c8382488ed0c2930188ec2 Mon Sep 17 00:00:00 2001 From: Roger Ng Date: Thu, 12 Sep 2024 15:49:21 +0100 Subject: [PATCH] Fix token permission code scanning alert (#249) --- .github/workflows/terragrunt_test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/terragrunt_test.yml b/.github/workflows/terragrunt_test.yml index 4c33adfa..805f9823 100644 --- a/.github/workflows/terragrunt_test.yml +++ b/.github/workflows/terragrunt_test.yml @@ -2,6 +2,9 @@ name: 'Terragrunt format check' on: - pull_request +# Declare default permissions as read only. +permissions: read-all + env: tf_version: '1.5.7' tg_version: '0.55.1'