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

67 commits

Author SHA1 Message Date
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
Tonye Jack
1af9ab3830
Update handling separator. (#181) 2021-09-04 09:08:20 -04:00
Tonye Jack
55a857d66a
Update removing trailing separator (#182)
* Update removing trailing separator

* Update test new.txt
2021-09-03 03:38:10 -04:00
Tonye Jack
62a9200adf
Fixed bug with parsing filenames that contain quotes (#174) 2021-08-27 22:59:23 -04:00
Ivan Pizhenko
8a41500fbe
Implement path parameter (#168)
* Implement path parameter

* Add test

* Update README.md

* Corrections after code review

* Update action.yml

* Update test.yml

* Do not use realpath

* Update entrypoint.sh

* Update test.yml

Co-authored-by: Ivan Pizhenko <IvanPizhenko@users.noreply.github.com>
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2021-08-27 21:53:03 -04:00
Tonye Jack
b80d9cca04
Fix persisting origin URL (#159) 2021-08-17 20:03:07 -04:00
Tonye Jack
2a771ad30d
Remove deleted files from the all_modified_files output (#156) 2021-08-09 08:57:25 -04:00
Tonye Jack
75933dc40b
Dedupe output file names. (#153) 2021-08-06 06:14:50 -04:00
Tonye Jack
2c0d12b627
Detect deleted files via any_changed output (#149) 2021-07-30 12:14:01 -04:00
Tonye Jack
7abdbc94e9
Update any_changed to include renamed files. (#145) 2021-07-24 08:53:47 -04:00
Tonye Jack
8c6f276ea5
Added support for detecting non specific file changes. (#137) 2021-07-17 15:13:26 -04:00
Tonye Jack
43ddf0c457
Added support for a custom base sha. (#135) 2021-07-17 11:46:59 -04:00
Tonye Jack
bd55e90a0a
Added support for retrieving the files input using a source file. (#132) 2021-07-17 10:51:08 -04:00