ci: skip changelog generation when dry run flag is active

This commit is contained in:
Nicolas Giard 2022-04-14 16:37:51 -04:00 committed by GitHub
parent e00b0d126c
commit 3099fe267b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ jobs:
- name: Update CHANGELOG
id: changelog
uses: Requarks/changelog-action@v1
if: env.SHOULD_DEPLOY == 'true'
if: ${{ env.SHOULD_DEPLOY == 'true' && github.event.inputs.dryrun == 'false' }}
with:
token: ${{ github.token }}
tag: ${{ env.PKG_VERSION }}