-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Describe the bug
The output of the step cannot be used as it misses compatible line breaks
Your Environment
Contents of Your Changelog-CI Workflow File (.yaml File):
name: Changelog CI
on:
push:
branches:
- hotfix/*
- release/*
paths-ignore:
- "*.md"
jobs:
generate_changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.15
with:
versionSpec: "5.11.1"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.15
- name: Run Changelog CI
id: changelog-ci
uses: saadmk11/changelog-ci@v1.1.1
with:
config_file: changelog-config.yaml
release_version: ${{ steps.gitversion.outputs.majorMinorPatch }}
github_token: ${{ secrets.ACTIONS_AUTH_TOKEN }}
- name: Get Changelog Output
run: |
echo "${{ steps.changelog-ci.outputs.changelog }}"
echo "${{ steps.changelog-ci.outputs.changelog }}" >> $GITHUB_STEP_SUMMARY
Contents of Changelog-CI Configuration File (If Applicable):
changelog_type: "pull_request"
header_prefix: "Version:"
commit_changelog: true
comment_changelog: false
include_unlabeled_changes: true
unlabeled_group_title: "Changes"
pull_request_title_regex: ".*"
version_regex: ".*"
group_config:
- title: Bug Fixes
labels:
- bug
- bugfix
- title: Code Improvements
labels:
- improvements
- enhancement
- title: New Features
labels:
- feature
- title: Updates
labels:
- update
- title: Dependencies
labels:
- dependencies
- title: Documentation Updates
labels:
- docs
- documentation
- doc
Expected behavior
The output will appear in the summary as intended
Actual behavior
The output appears in the summary without line breaks leading to an ALL header output instead of the readable changelog output found in the file
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels