From 057df419e45ef6aa975c7f055d75effcc1cc7311 Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Mon, 22 Apr 2024 18:10:51 -0500 Subject: [PATCH] ci: add top level workflow permission to commitlint (#2449) ## Description https://github.com/defenseunicorns/zarf/security/code-scanning/179 - [x] Test, docs, adr added or updated as needed - [x] [Contributor Guide Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow) followed --- .github/workflows/commitlint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 39838c5298..b83d5d3350 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -5,6 +5,9 @@ on: branches: [main] types: [opened, edited, synchronize] +permissions: + contents: read + jobs: title_check: runs-on: ubuntu-latest