From 0fd0d22ff425c2009f196912caf47e3c16614c89 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Fri, 24 May 2024 12:18:50 -0600 Subject: [PATCH] don't run the workflow if the release event is a pre-release (#277) --- .github/workflows/wordpress-plugin-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/wordpress-plugin-deploy.yml b/.github/workflows/wordpress-plugin-deploy.yml index c801b205..9a7b1d94 100644 --- a/.github/workflows/wordpress-plugin-deploy.yml +++ b/.github/workflows/wordpress-plugin-deploy.yml @@ -5,6 +5,8 @@ on: jobs: release: + # Do not run this job for prerelease versions. + if: ! github.event.release.prerelease runs-on: ubuntu-latest steps: - uses: actions/checkout@v2