Skip to content

Commit

Permalink
don't run the workflow if the release event is a pre-release (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence authored May 24, 2024
1 parent 313919f commit 0fd0d22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/wordpress-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fd0d22

Please sign in to comment.