From 8e9d23ac23b42a0cc9834dac5329a7dc4f8792a4 Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Mon, 13 Mar 2023 18:52:10 -0700 Subject: [PATCH] Only run stack label addition step on pull requests (#882) * Only run stack label addition step on pull requests * Make sure this is run on the correct repository --- .github/workflows/ci_cd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b7de15dced0..e267e3507e8 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