3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 23:44:46 +00:00
Commit graph

79 commits

Author SHA1 Message Date
Tonye Jack
b60efcf625 Renamed output. 2022-05-14 17:54:38 -04:00
Tonye Jack
e42d2fcf77 Added get_renames function 2022-05-14 17:05:44 -04:00
Tonye Jack
d1c0ee4e67 Updated docs and fixed bug with old new files list 2022-05-14 15:24:13 -04:00
Tonye Jack
5f40fac43c Added support for returning old and new names of renamed files 2022-05-14 14:33:40 -04:00
Tonye Jack
c004907b76 feat: Add support for listing renames. 2022-05-14 13:40:14 -04:00
Tonye Jack
a6d456f542
feat: Add support for non ascii filenames (#473)
* feat: Add support for non ascii filenames

Closes: #437

* Update action.yml

* Update README.md

* Create test-è.txt

* Update test.yml

* Update README.md

* Update action.yml

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh
2022-04-28 02:08:15 -04:00
Tonye Jack
a7dc1531cb
feat: Add support for using files pattern on disk (#425) 2022-03-14 01:01:27 -04:00
Tonye Jack
f5a8de7d36
fix: bug using newline separator (#418) 2022-03-08 06:59:26 -05:00
Tonye Jack
0bc7d4006f
fix: bug detecting other deleted and modified (#406) 2022-02-27 12:47:28 -05:00
Tonye Jack
ed90466495
chore: switch sed for awk (#401)
* chore: switch sed for awk

* Update entrypoint.sh

* Update entrypoint.sh
2022-02-26 04:37:27 -05:00
Constantine Peresypkin
83f33bd403
feat: Add support for detecting submodules changes (#394)
* feat: Add support for detecting submodules changes

Closes: #349

* add bash<4.4 fix

* add bash<4.4 fix

* Added more than 1 submodule.

* Update entrypoint.sh

* Removed submodule.

* Update test.yml

* Update test.yml

* Updated .gitmodules.

* Updated submodule.

* Updated submodule.

* Added a new submodule resolving testing errors.

* Added a new submodule.

* Removed new submodule.

* Fixed test.

Co-authored-by: Tonye Jack <jtonye@ymail.com>
2022-02-23 03:39:20 -05:00
Tonye Jack
9d43e5cb33
Update entrypoint.sh 2022-02-17 01:50:38 -05:00
Tonye Jack
aaf26005c3
fix: Bug detecting deleted files. (#364) 2022-02-14 18:28:12 -05:00
Tonye Jack
b719970c0b
fix: Error with multiple changed files from merge commits (#358) 2022-02-12 17:12:33 -05:00
Tonye Jack
c4a2357a3c
feat: Add support for detecting submodules changes (#350)
* feat: Add support for detecting submodules changes

* Update entrypoint.sh

* Update action.yml

* Update entrypoint.sh
2022-02-09 20:05:29 -05:00
Masaya Suzuki
e9f69ac719
bug: Fix command to narrow down target files (#330)
* Fix INPUT_FILES_PATTERN

* INPUT_FILES_PATTERN -> FILES_PATTERN
2022-01-26 02:32:28 -05:00
Tonye Jack
20f6f68d34
Clean up variable name to reflect usage. (#327) 2022-01-25 23:10:53 -05:00
Masaya Suzuki
b94745bfeb
Narrow down target files by exact match of INPUT_FILES (#326) 2022-01-25 22:41:38 -05:00
Masaya Suzuki
13328439bc
Deduplicate from files parameter without sorting (#321)
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2022-01-24 20:50:47 -05:00
Tonye Jack
7dfde9f9fe
Remove redundant debug line (#318) 2022-01-20 01:53:39 -05:00
Tonye Jack
835db067d1
Clean up unused code (#311)
* Clean up unused code

* Update entrypoint.sh

* Update action.yml

* Update entrypoint.sh

* Update action.yml
2022-01-09 03:18:29 -05:00
Tonye Jack
00f80efd45
Fixed unbound variable warnings (#296) 2021-12-29 21:22:46 -05:00
Tonye Jack
f56e736bed
Fixed regression bug with other_modified and other_changed outputs (#294) 2021-12-29 19:57:35 -05:00
Tonye Jack
78b8e06a07
Update entrypoint.sh 2021-12-14 16:55:39 -05:00
Tonye Jack
c78c155cf0
[PR 2]: Added support for listing all modified files. (#285)
* Added support for listing all modified files.

* Updated the test.
2021-12-14 02:01:31 -05:00
Tonye Jack
20765a994f
Renamed all_modified_files to all_changed_files (#283) 2021-12-14 00:21:49 -05:00
Tonye Jack
3c15e7e4d4
Update entrypoint.sh 2021-12-05 08:46:29 -05:00
Tonye Jack
188487d180
Fixed regression bug with base_sha for pull_request (#278)
* Fixed regression bug with base_sha for pull_request

Fixes: #276

* Update action.yml

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh
2021-12-04 16:34:44 -05:00
Tonye Jack
922308f3c8
Update entrypoint.sh (#277) 2021-12-04 16:14:27 -05:00
Tonye Jack
30988915fa
Update entrypoint.sh 2021-12-04 07:50:37 -05:00
Tonye Jack
f4ece4ed57
Resolve error adding remote (#269)
Fixes: #268
2021-12-04 07:49:00 -05:00
Tonye Jack
3ef3d14e6d
Improve error handling (#263)
* Improve error handling

Fixes: #255

* Update entrypoint.sh

* Update entrypoint.sh

* Update error checking

* Update test.yml

* Update test.yml

* Update test.yml

* Update entrypoint.sh

* Update action.yml

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update test.yml

* Update entrypoint.sh

* Update test.yml

* Update test.yml

* Update test.yml

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update test.yml
2021-12-04 06:11:27 -05:00
Tonye Jack
467d26c8b7
Updated git fetch to pull the last remote commit (#254)
* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh
2021-11-19 16:27:56 -05:00
Tonye Jack
d9eb683b30
Updated formatting of all modified debug message (#247)
* Updated formatting of all modified debug message

* Update entrypoint.sh

* Update changed-files-list.txt

* Update changed-files-list.txt
2021-11-08 08:17:51 -05:00
Tonye Jack
71583c0a06
Support retrieving changed files between the last remote commit and the current HEAD for push events (#236)
* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Create new.yml

* Empty commit

* Empty commit 2

* Empty commit 3

* Updated the use the last remote commit

* Update entrypoint.sh

* Update README.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-30 15:55:58 -04:00
Tonye Jack
e11c6b4fe2
Revert "Update base_sha to use the last commit on the current branch for push event (#235)" (#237)
This reverts commit d924fccc1e.
2021-10-27 19:59:37 -04:00
Tonye Jack
d924fccc1e
Update base_sha to use the last commit on the current branch for push event (#235)
* Update base_sha to use the last commit on the current branch for push events

Resolves: #234

* Update entrypoint.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-27 17:28:58 -04:00
Tonye Jack
902e607379
[Security]: Prevent persisting the remote when there are errors (#232) 2021-10-27 07:30:47 -04:00
Tonye Jack
2b51570d5f
Resolved bug with already existing remote (#230)
* Resolved bug with already existing remote

* Added the --exit-code option

* Added debug lines

* Update entrypoint.sh

* Update entrypoint.sh
2021-10-26 10:16:42 -04:00
Tonye Jack
227fb65ec9
Revert "Resolved bug with already existing remote (#228)" (#229)
This reverts commit 3b3a421bef.
2021-10-26 09:41:27 -04:00
Tonye Jack
3b3a421bef
Resolved bug with already existing remote (#228) 2021-10-26 09:39:24 -04:00
Tonye Jack
040111b367
Disable pulling tags (#225)
Fixes: #220
2021-10-25 16:02:53 -04:00
Tonye Jack
4e6de625a6
Fixed bug with separator for filenames that contain spaces (#218)
* Fixed bug with separator for filenames that contain spaces

* Updated to use printf

* Updated entrypoint.sh

* Updated internal field separator.

* Updated entrypoint.sh

* Updated entrypoint.sh

* Update test new.txt

* Added debug line.

* Updated script to support spaces.

* Updated script to support spaces.

* Updated script to support spaces.

* Removed unused non 0 exit

* Fixed error with space conversion
2021-10-23 09:29:28 -04:00
Tonye Jack
0b9d12b01a
Miscellaneous code cleanup (#219)
* Miscellaneous code cleanup

* Update action.yml
2021-10-21 12:00:00 -04:00
talva-tr
d0d71572ef
Update entrypoint.sh (#204)
update.sh: fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository error fix

Co-authored-by: Tonye Jack <jtonye@ymail.com>
2021-10-12 07:56:12 -04:00
Tonye Jack
8e7cc77ab9
Fixed bug setting the server URL for github enterprise server (#198)
* Update action.yml

* Update entrypoint.sh

* Update entrypoint.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-26 02:32:59 -04:00
Tonye Jack
81ad4b8744
Update entrypoint.sh 2021-09-05 14:21:28 -04:00
Tonye Jack
5e2a2f1923
Added support for detecting deleted files. (#188) 2021-09-05 08:22:47 -04:00
Tonye Jack
368be5bbf0
Rename all_changed_files to all_changed_and_modified_files. (#187) 2021-09-04 09:42:11 -04:00
Tonye Jack
9cc7563ef7
Update other_changed_files output to also use the separator (#186) 2021-09-04 09:31:19 -04:00