Disable "Release Draft" job for pull requests in the "Build" GitHub Actions Workflow (#40)

pull/41/head
Jakub Chrzanowski 4 years ago committed by GitHub
parent 424f9185b8
commit 74a7cc0d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -82,7 +82,7 @@ jobs:
changelog: ${{ steps.properties.outputs.changelog }}
artifact: ${{ steps.properties.outputs.artifact }}
steps:
# Setup Java 1.8 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
@ -175,6 +175,7 @@ jobs:
# If accepted and published, release workflow would be triggered
releaseDraft:
name: Release Draft
if: github.event_name != 'pull_request'
needs: [build, verify]
runs-on: ubuntu-latest
steps:

@ -3,6 +3,8 @@
# IntelliJ Platform Plugin Template Changelog
## [Unreleased]
### Changed
- Disable "Release Draft" job for pull requests in the "Build" GitHub Actions Workflow
## [0.4.0]
### Added

Loading…
Cancel
Save