Skip to content

Commit

Permalink
server: fix testmerge worker action 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Jul 28, 2024
1 parent 7152f78 commit 4c1bb60
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/testmerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,17 @@ jobs:
- name: Iterate over PRs and perform actions
id: prepare_testmerge_branch
run: |
set -e
git config --local user.email "[email protected]"
git config --local user.name "Testmerge Worker"
git switch ${{ env.TESTMERGE_BRANCH }} || git switch -c ${{ env.TESTMERGE_BRANCH }}
# Print debug information
echo "PR details JSON:"
echo '${{ steps.get_labeled_prs.outputs.labeled_pr_details }}'
echo "${{ steps.get_labeled_prs.outputs.labeled_pr_details }}"
echo '${{ steps.get_labeled_prs.outputs.labeled_pr_details }}' | jq -c '.[]' | while read -r PR_DETAIL; do
echo "$PR_DETAIL"
echo "${{ steps.get_labeled_prs.outputs.labeled_pr_details }}" | jq -c '.[]' | while read -r PR_DETAIL; do
PR_NUMBER=$(echo "$PR_DETAIL" | jq -r '.number')
PR_TITLE=$(echo "$PR_DETAIL" | jq -r '.title')
echo "Preparing $PR_TITLE (#$PR_NUMBER)"
Expand Down

0 comments on commit 4c1bb60

Please sign in to comment.