chore: Only Update Release Changelog on Merged PR's (#7)

* Update build.yml

* Update release-drafter.yml
This commit is contained in:
Justin Hammond 2021-09-23 16:59:14 +08:00 committed by GitHub
parent 6381d65bdf
commit 20aba9f372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ categories:
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
label: 'type: chore'
- title: 'Documentation'
label: 'type: docs'
- title: 'Dependency Updates'

View file

@ -97,6 +97,7 @@ jobs:
github-token: '${{ secrets.GITHUB_TOKEN }}'
release:
#if: startsWith(github.ref, 'refs/tags/')
if: github.event.pull_request.merged == true
needs: [goreadme]
runs-on: ubuntu-latest
steps: