3
0
Fork 0
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:
tj-actions[bot] 2024-08-21 04:07:25 -06:00 committed by GitHub
parent 94b94fea13
commit 40853de9f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View file

@ -8,7 +8,9 @@
[![Update release version.](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml/badge.svg)](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-27-orange.svg?style=flat-square)](#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
View file

@ -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

File diff suppressed because one or more lines are too long