From 0c6ee82e31c89b6283e96d3ea6094474e2326eff Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:31:17 -0500 Subject: [PATCH] chore: add pull request permissions to commitlint (#156) ## Description Add pull request permissions for commitlint. ## Related Issue Fixes # Relates to # ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-package-mattermost/blob/main/CONTRIBUTING.md#developer-workflow) followed --- .github/workflows/commitlint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 4d2bdeda..03c49173 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -11,6 +11,7 @@ on: # Permissions for the GITHUB_TOKEN used by the workflow. permissions: contents: read # Allows reading the content of the repository. + pull-requests: read # Allows reading pull requests jobs: validate: