From a688079382023a7d78cd30636301e469972b0441 Mon Sep 17 00:00:00 2001 From: Aziz Chynaliev Date: Mon, 7 Oct 2024 02:35:30 +0500 Subject: [PATCH] server: improve testmerge worker 14 --- .github/workflows/testmerge.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testmerge.yml b/.github/workflows/testmerge.yml index 626720e66d7..4f2b99e49aa 100644 --- a/.github/workflows/testmerge.yml +++ b/.github/workflows/testmerge.yml @@ -106,7 +106,7 @@ jobs: ./tools/hooks/install.sh ./tgui/bin/tgui --install-git-hooks - MERGED_PRS=() + MERGED_PRS="" # Print debug information echo "PR details JSON:" @@ -139,7 +139,7 @@ jobs: # Perform your git actions here, for example: echo "::endgroup::" echo "$(green "$PR_STRING: Successfully merged!")" - MERGED_PRS+=("$PR_NUMBER") + MERGED_PRS="$MERGED_PRS $PR_NUMBER" done # Generate changelog @@ -155,8 +155,7 @@ jobs: git push -f origin ${{ env.TESTMERGE_BRANCH }} # Output the list of merged PRs - echo "${MERGED_PRS[@]}" - echo "merged_prs=${MERGED_PRS[@]}" >> $GITHUB_OUTPUT + echo "merged_prs=$MERGED_PRS}" >> $GITHUB_OUTPUT - name: Comment on merged PRs uses: actions/github-script@v7