Skip to content

Commit c3f0ff2

Browse files
Update nightly build workflow to prevent tagging and releases for pull requests. Added condition to skip release step if the workflow is triggered by a pull request.
1 parent 30382da commit c3f0ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
- name: Release Nightly Version
227227
# Only run this step, if not called from another workflow. And a previous step is successful with releasedRequired=true
228228
id: release
229-
if: ${{ ! inputs.skip_tagging_and_releases && success() && env.releaseRequired == 'true' }}
229+
if: ${{ ! inputs.skip_tagging_and_releases && success() && env.releaseRequired == 'true' && !inputs.is_PR }}
230230
uses: softprops/action-gh-release@v2
231231
with:
232232
prerelease: true

0 commit comments

Comments
 (0)