From 37327dd54559bda03b5bb0b30736d048178a9d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Mon, 9 Dec 2024 16:01:35 +0300 Subject: [PATCH] ci(pr-agent): remove contents write permission due to security MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/pr-agent.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-agent.yaml b/.github/workflows/pr-agent.yaml index 5cd0845b3d9b4..3f46b7bbbb2ee 100644 --- a/.github/workflows/pr-agent.yaml +++ b/.github/workflows/pr-agent.yaml @@ -17,7 +17,7 @@ jobs: permissions: issues: write pull-requests: write - contents: write + contents: read name: Run pr agent on every pull request, respond to user comments steps: - name: PR Agent action step