Skip to content

Commit

Permalink
testing vars
Browse files Browse the repository at this point in the history
  • Loading branch information
charlottekostelic committed Apr 11, 2024
1 parent c31b1e6 commit 389d100
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/monthly-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
echo "PR_BODY<<EOF"
echo "### Changed:"
echo " + lcsh.log updated with data from workflow run on $(date '+%D')"
echo "${{ (env.REVISED != 'false' && env.DEPRECATED != 'false')&& '### Added:' && ' + New infile is: data/acc_in.csv' && ' + Old infile is: data/acc_in_$DATE' || '' }}"
echo "${{ (env.REVISED != 'false' && env.DEPRECATED != 'false') && '### Added:' && ' + New infile is: data/acc_in.csv' && ' + Old infile is: data/acc_in_$DATE' || '' }}"
echo EOF
} >> $GITHUB_ENV
- name: Create PR and Issue text (changes)
if: ${{ env.CHANGED == 'true' }}
if: ${{ (env.REVISED != 'false' && env.DEPRECATED != 'false') }}
run: |
{
echo "ISSUE_BODY<<EOF"
Expand All @@ -59,6 +59,7 @@ jobs:
- 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 "ISSUE_BODY: ${{ env.ISSUE_BODY }}"

0 comments on commit 389d100

Please sign in to comment.