From d9aa0ed34bed079b30bc751dc1d0dc942c56d408 Mon Sep 17 00:00:00 2001 From: hezijie Date: Mon, 3 Jun 2024 14:53:15 +0800 Subject: [PATCH] update permission --- .github/workflows/weekly-codeql.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/weekly-codeql.yaml b/.github/workflows/weekly-codeql.yaml index e36b5dcf..7b106346 100644 --- a/.github/workflows/weekly-codeql.yaml +++ b/.github/workflows/weekly-codeql.yaml @@ -6,4 +6,8 @@ on: jobs: codeql: + permissions: + actions: read + contents: read + security-events: write uses: Azure/tfmod-scaffold/.github/workflows/weekly-codeql.yaml@main \ No newline at end of file