From a89b9e89cd7d88c12f1fb63bf6a6295485275c85 Mon Sep 17 00:00:00 2001 From: snomiao Date: Fri, 15 Aug 2025 06:07:09 +0000 Subject: [PATCH] chore(chromatic.yaml): move permissions section inside the chromatic-deployment job for better organization and clarity --- .github/workflows/chromatic.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/chromatic.yaml b/.github/workflows/chromatic.yaml index 736aaa57f..66d15810a 100644 --- a/.github/workflows/chromatic.yaml +++ b/.github/workflows/chromatic.yaml @@ -8,13 +8,12 @@ on: pull_request: branches: [main] -permissions: - pull-requests: write - issue: write - jobs: chromatic-deployment: runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write steps: - name: Checkout code uses: actions/checkout@v4