Skip to content

Commit

Permalink
FIXUP: Change newlines to spaces in github env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Dec 9, 2024
1 parent cb7d3ee commit 8b33d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
echo "Checking for changes compared with: ${{ github.event.pull_request.base.ref }}"
CHANGED_FILES=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }}..HEAD -- ${{ env.SCHEMA_DIR }} | grep '\.yaml$')
CHANGED_FILES=$(echo "$CHANGED_FILES" | sed "s|^${{ env.SCHEMA_DIR }}/||")
CHANGED_FILES=$(echo "$CHANGED_FILES" | sed "s|^${{ env.SCHEMA_DIR }}/||" | tr '\n' ' ')
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
- name: Check out PR base ref
Expand Down

0 comments on commit 8b33d32

Please sign in to comment.