Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,13 @@ runs:
fi
done
files="$(echo ${changed_files})"
echo "file=${files// / }" >> $GITHUB_OUTPUT
echo "file=${files}" >> $GITHUB_OUTPUT
# Newline-separated list for create-pull-request `add-paths`, which splits on newlines or commas, not spaces.
{
echo "files<<EOF"
printf '%s\n' ${changed_files}
echo "EOF"
} >> $GITHUB_OUTPUT

- uses: gaurav-nelson/github-action-markdown-link-check@v1
if: inputs.readme_enabled == 'true' && inputs.validate_readme == 'true'
Expand Down Expand Up @@ -310,7 +316,8 @@ runs:
committer: ${{ inputs.commit_author }}
sign-commits: ${{ inputs.sign-commits }}
add-paths: |
${{ steps.banner.outputs.file }},${{ steps.readme.outputs.file }}
${{ steps.banner.outputs.file }}
${{ steps.readme.outputs.files }}
body: |-
## what
This is an auto-generated PR that updates the README.md and docs
Expand Down Expand Up @@ -342,4 +349,3 @@ runs:
echo "> [!IMPORTANT]" >> $GITHUB_STEP_SUMMARY
echo "> No pull request was created." >> $GITHUB_STEP_SUMMARY


Loading