Skip to content

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

Only run stack label addition step on pull requests (#882)

Madison Swain-Bowden8e9d23ac23b4
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index b7de15dce..e267e3507 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -95,6 +95,7 @@ jobs:
add-stack-label:
name: Add stack label
+ if: github.event_name == 'pull_request' && github.repository == 'WordPress/openverse'
runs-on: ubuntu-latest
needs:
- get-changes