Skip to content

Commit

Permalink
Fix boolean evaluation for changelog creation (#116)
Browse files Browse the repository at this point in the history
* Fix boolean evaluation when running pipeline

* Add untracked to add changelog.md

* Add untracked

* Add newest version

* Update .github/workflows/python-poetry-release.yaml

Co-authored-by: Salomon Popp <[email protected]>

---------

Co-authored-by: Salomon Popp <[email protected]>
  • Loading branch information
irux and disrupted authored Jun 21, 2023
1 parent eb9e057 commit 38f2410
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-poetry-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Create changelog
id: build-changelog
uses: bakdata/ci-templates/actions/[email protected]
if: ${{ inputs.changelog == 'true'}}
if: ${{ inputs.changelog == true}}
with:
github-token: ${{ secrets.github-token }}
config: ${{ inputs.changelog-config }}
Expand All @@ -94,13 +94,14 @@ jobs:
fetch-release-information: "true"

- name: Commit and push pyproject.toml file
uses: bakdata/ci-templates/actions/commit-and-push@v1.0.0
uses: bakdata/ci-templates/actions/commit-and-push@1.25.2
with:
ref: ${{ inputs.ref }}
commit-message: "Bump version ${{ steps.bump-version.outputs.old-version }} → ${{ steps.bump-version.outputs.release-version }}"
github-username: ${{ secrets.github-username }}s
github-email: ${{ secrets.github-email }}
github-token: ${{ secrets.github-token }}
add-untracked: "true"

- name: Tag and release
uses: bakdata/ci-templates/actions/[email protected]
Expand Down

0 comments on commit 38f2410

Please sign in to comment.