From 5bbf7fa05821b52636f27f515b16cc1bff5b61e3 Mon Sep 17 00:00:00 2001 From: hiento09 <136591877+hiento09@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:23:37 +0700 Subject: [PATCH] Change reviewer for nightly PR update cortex cpp (#3046) Co-authored-by: Hien To --- .github/workflows/nightly-integrate-cortex-cpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nightly-integrate-cortex-cpp.yml b/.github/workflows/nightly-integrate-cortex-cpp.yml index 1c5b2a8ed7..e0b48bc46f 100644 --- a/.github/workflows/nightly-integrate-cortex-cpp.yml +++ b/.github/workflows/nightly-integrate-cortex-cpp.yml @@ -65,8 +65,8 @@ jobs: echo $latest_prerelease_name > $cortex_cpp_version_file_path echo "Updated version from $current_version_name to $latest_prerelease_name." echo "::set-output name=pr_created::true" - cd - - git add $cortex_cpp_version_file_path + + git add -f $cortex_cpp_version_file_path git commit -m "Update cortex cpp nightly to version $latest_prerelease_name" branch_name="update-nightly-$(date +'%Y-%m-%d-%H-%M')" git checkout -b $branch_name @@ -75,7 +75,7 @@ jobs: pr_title="Update cortex cpp nightly to version $latest_prerelease_name" pr_body="This PR updates the Update cortex cpp nightly to version $latest_prerelease_name" - gh pr create --title "$pr_title" --body "$pr_body" --head $branch_name --base dev --reviewer vansangpfiev + gh pr create --title "$pr_title" --body "$pr_body" --head $branch_name --base dev --reviewer Van-QA pr_number=$(gh pr list --head $branch_name --json number --jq '.[0].number') echo "::set-output name=pr_number::$pr_number"