Skip to content

Commit

Permalink
fix: release_and_publish pipeline
Browse files Browse the repository at this point in the history
Make pipeline run only when PR is merged before closing.
  • Loading branch information
OS-ricardomoreirasilva committed Aug 19, 2024
1 parent bc8a8b5 commit 3bf8925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
post-merge:
if: contains(github.event.pull_request.labels.*.name, 'release')
if: contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true
runs-on: macos-latest

steps:
Expand Down

0 comments on commit 3bf8925

Please sign in to comment.