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

This commit is contained in:
Jakub Chrzanowski 2020-10-05 09:25:03 +02:00 committed by GitHub
parent 424f9185b8
commit 74a7cc0d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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:

View File

@ -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