diff --git a/.github/workflows/update_file.yml b/.github/workflows/update_file.yml index 6cefdb65..2429433d 100644 --- a/.github/workflows/update_file.yml +++ b/.github/workflows/update_file.yml @@ -51,6 +51,10 @@ jobs: run: | echo "Checking find pattern in CHANGELOG.md..." grep -n "Your contribution here." CHANGELOG.md || echo "Pattern not found." + - name: Checkout PR + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr checkout ${{ steps.cpr.outputs.pull-request-number }} - name: Update CHANGELOG uses: jacobtomlinson/gha-find-replace@v3 if: ${{ steps.cpr.outputs.pull-request-number != '' }}