From 233cb44c5e73d7cfcf076d649e6f349471dd3e63 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 | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 0403bfdfe..074eaffab 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -30,20 +30,8 @@ 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"' + run: "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