From 3781fc63e7714d45670dbe7c37887cc862c749a7 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Mon, 9 Sep 2024 09:02:49 -0400 Subject: [PATCH] Adjust permissions --- .github/workflows/ci.yml | 3 +++ .github/workflows/test-accessibility-alt-text-bot.yml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 812773a..abec003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,3 +15,6 @@ jobs: run: npm ci - name: Run test run: npm run test +permissions: + contents: read + pull-requests: write diff --git a/.github/workflows/test-accessibility-alt-text-bot.yml b/.github/workflows/test-accessibility-alt-text-bot.yml index eff925f..bb59bdd 100644 --- a/.github/workflows/test-accessibility-alt-text-bot.yml +++ b/.github/workflows/test-accessibility-alt-text-bot.yml @@ -19,3 +19,8 @@ jobs: steps: - name: Check alt text uses: github/accessibility-alt-text-bot@main +permissions: + contents: read + pull-requests: write + discussions: write + issues: write