From 7a0d069e24c7bc16b092fa2f4caa92e4a1fab6b9 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Sun, 6 Aug 2023 21:48:16 -0400 Subject: [PATCH] CI: Fix services validator being unable to create Pull Requests Add write permission to the pull-request scope for the services-availability and services-validation jobs to allow them to create and update Pull Requests. --- .github/workflows/dispatch.yaml | 1 + .github/workflows/scheduled.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/dispatch.yaml b/.github/workflows/dispatch.yaml index 4cceefb57..d01f7f3cd 100644 --- a/.github/workflows/dispatch.yaml +++ b/.github/workflows/dispatch.yaml @@ -38,6 +38,7 @@ jobs: permissions: checks: write contents: write + pull-requests: write steps: - uses: actions/checkout@v3 - name: Check for Defunct Services 📉 diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index c678a0e50..aa2c53615 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -16,6 +16,7 @@ jobs: permissions: checks: write contents: write + pull-requests: write steps: - uses: actions/checkout@v3 with: