diff --git a/.github/workflows/release_please.yml b/.github/workflows/release_please.yml index 489b1c7a6..983fe1d1e 100644 --- a/.github/workflows/release_please.yml +++ b/.github/workflows/release_please.yml @@ -57,6 +57,13 @@ jobs: node scripts/generateChangelog.js $MASTER_Z2M_VERSION $MASTER_ZHC_VERSION $MASTER_ZH_VERSION >> ../changelog.txt env: GH_TOKEN: ${{secrets.GH_TOKEN}} + - name: Update changelog in release PR + run: | + PR=$(echo '${{ steps.release.outputs.pr }}' | jq -r .number) + cd z2m + gh pr edit $PR -F ../changelog.txt + env: + GH_TOKEN: ${{ github.token }} - name: Upload changelog uses: actions/upload-artifact@v3 with: