Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Make read contents permission explicit for PR automations (#4504)

Madison Swain-Bowdenb8b6e5e32f21
diff --git a/.github/workflows/pr_automations_init.yml b/.github/workflows/pr_automations_init.yml
index 8eb10d314..f570f6c48 100644
--- a/.github/workflows/pr_automations_init.yml
+++ b/.github/workflows/pr_automations_init.yml
@@ -41,6 +41,7 @@ jobs:
name: Save change info
runs-on: ubuntu-latest
permissions:
+ contents: read
pull-requests: read
# Prevent running this workflow on forks, it's unnecessary for external contributors
if: github.repository_owner == 'WordPress'