From 739190a8cf3a885c51bb12501519d29f730c50bc Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Sat, 5 Dec 2020 12:07:11 +0000 Subject: [PATCH] CI: use Docker image for CHANGELOG 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. --- .github/workflows/ccpp.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 0403bfdfe..a29908101 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -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