Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Ensure that the docs cleanup step only runs on PRs that have permission (#750)
Madison Swain-Bowden267decfc1494
diff --git a/.github/workflows/pr_closed.yml b/.github/workflows/pr_closed.ymlindex ae6f31f10..c53f16a30 100644--- a/.github/workflows/pr_closed.yml+++ b/.github/workflows/pr_closed.yml@@ -9,6 +9,8 @@ jobs:clean-gh-pages:name: Clean API developer docs previewruns-on: ubuntu-latest+ # Check if the event is not triggered by a fork or dependabot+ if: github.event_name == 'pull_request' && github.repository_owner == 'WordPress' && github.actor != 'dependabot[bot]'steps:- uses: actions/checkout@v3