From 7447a4c3fb6964db38018ac9d2635e41c148c1e1 Mon Sep 17 00:00:00 2001 From: Sai Medhini Reddy Maryada Date: Tue, 30 Jan 2024 15:19:46 -0800 Subject: [PATCH] updated Signed-off-by: Sai Medhini Reddy Maryada --- .github/workflows/update_file.yml | 4 ++++ 1 file changed, 4 insertions(+) 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 != '' }}