Skip to content

Commit

Permalink
test lists
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Apr 11, 2024
1 parent 03fc753 commit c4759bb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/monthly-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,22 @@ jobs:
echo EOF
} >> $GITHUB_ENV
echo "REVISED_LIST=$(grep 'DEBUG - Revised' lcsh.log | grep -Eo '\[.+]$')"
echo "DEPRECATED_LIST=$(grep 'DEBUG - Deprecated' lcsh.log | grep -Eo '\[.+]$')"
{
echo "ISSUE_BODY<<EOF"
echo "${{ env.REVISED == 'true' && echo '### Changed:'}}"
echo "${{ env.REVISED == 'true' && echo '$REVISED_LIST' }}"
echo "${{ env.DEPRECATED == 'true' && echo '### Deprecated:' }}"
echo "${{ env.DEPRECATED == 'true' && echo '$DEPRECATED_LIST' }}"
echo EOF
} >> $GITHUB_ENV
- name: Check PR and Issue text
run: |
echo "CHANGED: ${{ env.CHANGED }}"
echo "REVISED: ${{ env.REVISED }}"
echo "DEPRECATED: ${{ env.DEPRECATED }}"
echo "PR_BODY: ${{ env.PR_BODY }}"
echo "PR_BODY: ${{ env.PR_BODY }}"
echo "ISSUE_BODY: ${{ env.ISSUE_BODY }}"

0 comments on commit c4759bb

Please sign in to comment.