Skip to content

Commit

Permalink
chore: fix open pr step
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrery committed Oct 2, 2023
1 parent 905361c commit 2a2b3cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/refresh-notebooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ jobs:
- name: Prepare PR Body
run: |
SUCCESSFUL_NOTEBOOKS=$(cat ./successful_notebooks.txt)
FAILED_NOTEBOOKS=$(cat ./failed_notebooks.txt)
PR_BODY="Automatic PR with notebook refresh for ${{ github.ref_name }}.\n"
PR_BODY+="## Successful Notebooks\n$SUCCESSFUL_NOTEBOOKS\n"
PR_BODY+="## Failed Notebooks\n$FAILED_NOTEBOOKS"
SUCCESSFUL_NOTEBOOKS=$(cat ./successful_notebooks.txt | tr '\n' ' ' | sed 's/ /\\n- /g')
FAILED_NOTEBOOKS=$(cat ./failed_notebooks.txt | tr '\n' ' ' | sed 's/ /\\n- /g')
PR_BODY="Automatic PR with notebook refresh for ${{ github.ref_name }}.\\n"
PR_BODY+="## Successful Notebooks\\n- $SUCCESSFUL_NOTEBOOKS\\n"
PR_BODY+="## Failed Notebooks\\n- $FAILED_NOTEBOOKS"
echo "PR_BODY=${PR_BODY}" >> "$GITHUB_ENV"
- name: Open PR
Expand Down

0 comments on commit 2a2b3cf

Please sign in to comment.