Skip to content

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

Unify PR preview cleaning workflow

Dhruv Bhanushalic86f6c800c4d
diff --git a/.github/workflows/pr_closed.yml b/.github/workflows/pr_closed.yml
index 01c8a057b..83604fdfc 100644
--- a/.github/workflows/pr_closed.yml
+++ b/.github/workflows/pr_closed.yml
@@ -7,10 +7,9 @@ on:
jobs:
clean-gh-pages:
- name: Clean API developer docs preview
+ name: Clean GH Pages preview
runs-on: ubuntu-latest
- # Check if the event is not triggered by a fork or dependabot
- if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'WordPress' && github.actor != 'dependabot[bot]'
+
steps:
- uses: actions/checkout@v3
with: