Skip to content

Commit

Permalink
Merge pull request #271 from puppetlabs/maint-remove-changelog-check-…
Browse files Browse the repository at this point in the history
…from-release-action

(maint) remove changelog check from release action
  • Loading branch information
jonathannewman authored Apr 10, 2024
2 parents a5dc064 + b421ba7 commit e3a0c6d
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,6 @@ jobs:
return response.tag_name
result-encoding: string

- name: Generate Changelog
uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
with:
args: >-
--future-release ${{ steps.nv.outputs.version }}
env:
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Validate Changelog
run : |
set -e
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
echo "Here is the current git status:"
git status
echo
echo "The following changes were detected:"
git --no-pager diff
echo "Uncommitted PRs found in the changelog. Please submit a release prep PR of changes after running './release-prep'"
exit 1
fi
- name: Generate Release Notes
uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
with:
Expand Down

0 comments on commit e3a0c6d

Please sign in to comment.