Skip to content

Commit

Permalink
CI: use Docker image for CHANGELOG
Browse files Browse the repository at this point in the history
Despite using the same program, the GH market place image used to
generate CHANGELOG files
(heinrichreimer/github-changelog-generator-action) doesn't produce the
same output.

Therefore, use the underlying Docker image directly.
  • Loading branch information
ThomasAdam committed Dec 5, 2020
1 parent a5e5fb6 commit 8cded9a
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,9 @@ jobs:
ref: master
- name: Update CHANGELOG
if: github.ref == 'refs/heads/master'
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
issues: true
issuesWoLabels: false
pullRequests: true
prWoLabels: true
author: true
unreleased: true
stripGeneratorNotice: true
verbose: true
compareLink: true
httpCache: true
filterByMilestone: true
run: |
docker run -v $(pwd):$(pwd) ferrarimarco/github-changelog-generator -t ${{ secrets.GITHUB_TOKEN }} --user fvwmorg --project fvwm3 -o "$(pwd)/CHANGELOG.md"
sed -i '/This Changelog was automatically generated/d' CHANGELOG.md
- name: Commit CHANGELOG
if: github.ref == 'refs/heads/master'
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down

0 comments on commit 8cded9a

Please sign in to comment.