mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-22 01:17:40 +00:00
Updated README.md (#2243)
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
94b94fea13
commit
40853de9f8
3 changed files with 8 additions and 2 deletions
|
@ -8,7 +8,9 @@
|
|||
[](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
|
||||
[](#contributors-)
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
## changed-files
|
||||
|
@ -1402,8 +1404,11 @@ If you are reporting a bug, please include:
|
|||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
@ -1445,6 +1450,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|||
</table>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
|
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -356,7 +356,7 @@ const getChangedFilesFromGithubAPI = async ({ inputs }) => {
|
|||
const changeType = statusMap[item.status] || ChangeTypeEnum.Unknown;
|
||||
if (changeType === ChangeTypeEnum.Renamed) {
|
||||
if (inputs.outputRenamedFilesAsDeletedAndAdded) {
|
||||
changedFiles[ChangeTypeEnum.Deleted].push(item.filename);
|
||||
changedFiles[ChangeTypeEnum.Deleted].push(item.previous_filename || '');
|
||||
changedFiles[ChangeTypeEnum.Added].push(item.filename);
|
||||
}
|
||||
else {
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue