From 66819574061daff9435926a6d50f06924a825018 Mon Sep 17 00:00:00 2001 From: bunnam988 Date: Mon, 13 Jul 2026 15:54:23 +0530 Subject: [PATCH] Add issues:write and contents:read to PR Format Check job permissions PR conversation comments use the Issues API (/issues/comments), so the reusable workflow job needs issues:write in addition to pull-requests:write. Also adds explicit contents:read for least-privilege. --- .github/workflows/pr-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml index 1ecf051..09283a8 100644 --- a/.github/workflows/pr-lint.yml +++ b/.github/workflows/pr-lint.yml @@ -9,6 +9,8 @@ jobs: pr-lint: runs-on: ubuntu-latest permissions: + contents: read + issues: write pull-requests: write steps: - name: Check PR Title & Description Format