From 42b31f4c9e5dbf1c1be45ce493ef32ca7866c308 Mon Sep 17 00:00:00 2001 From: jalensailin Date: Tue, 2 Sep 2025 00:04:19 -0400 Subject: [PATCH] add correct permissions to action --- .github/workflows/sync-labels-to-pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sync-labels-to-pr.yml b/.github/workflows/sync-labels-to-pr.yml index b2831ac..4c4c9cd 100644 --- a/.github/workflows/sync-labels-to-pr.yml +++ b/.github/workflows/sync-labels-to-pr.yml @@ -11,6 +11,10 @@ jobs: copy-issue-labels: name: Copy labels from addressed issue(s) to PR runs-on: ubuntu-latest + permissions: + contents: read + issues: read + pull-requests: write steps: - name: copy-labels uses: michalvankodev/copy-issue-labels@v1.3.0