3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-19 15:23:42 +00:00
Commit graph

73 commits

Author SHA1 Message Date
Tonye Jack
a7dc1531cb
feat: Add support for using files pattern on disk () 2022-03-14 01:01:27 -04:00
Tonye Jack
f5a8de7d36
fix: bug using newline separator () 2022-03-08 06:59:26 -05:00
Tonye Jack
0bc7d4006f
fix: bug detecting other deleted and modified () 2022-02-27 12:47:28 -05:00
Tonye Jack
ed90466495
chore: switch sed for awk ()
* 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 ()
* feat: Add support for detecting submodules changes

Closes: 

* 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. () 2022-02-14 18:28:12 -05:00
Tonye Jack
b719970c0b
fix: Error with multiple changed files from merge commits () 2022-02-12 17:12:33 -05:00
Tonye Jack
c4a2357a3c
feat: Add support for detecting submodules changes ()
* 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 ()
* 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. () 2022-01-25 23:10:53 -05:00
Masaya Suzuki
b94745bfeb
Narrow down target files by exact match of INPUT_FILES () 2022-01-25 22:41:38 -05:00
Masaya Suzuki
13328439bc
Deduplicate from files parameter without sorting ()
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2022-01-24 20:50:47 -05:00
Tonye Jack
7dfde9f9fe
Remove redundant debug line () 2022-01-20 01:53:39 -05:00
Tonye Jack
835db067d1
Clean up unused code ()
* 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 () 2021-12-29 21:22:46 -05:00
Tonye Jack
f56e736bed
Fixed regression bug with other_modified and other_changed outputs () 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. ()
* 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 () 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 ()
* Fixed regression bug with base_sha for pull_request

Fixes: 

* 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 () 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 ()
Fixes: 
2021-12-04 07:49:00 -05:00
Tonye Jack
3ef3d14e6d
Improve error handling ()
* Improve error handling

Fixes: 

* 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 ()
* 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 ()
* 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 ()
* 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 ()" ()
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 ()
* Update base_sha to use the last commit on the current branch for push events

Resolves: 

* 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 () 2021-10-27 07:30:47 -04:00
Tonye Jack
2b51570d5f
Resolved bug with already existing remote ()
* 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 ()" ()
This reverts commit 3b3a421bef.
2021-10-26 09:41:27 -04:00
Tonye Jack
3b3a421bef
Resolved bug with already existing remote () 2021-10-26 09:39:24 -04:00
Tonye Jack
040111b367
Disable pulling tags ()
Fixes: 
2021-10-25 16:02:53 -04:00
Tonye Jack
4e6de625a6
Fixed bug with separator for filenames that contain spaces ()
* 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 ()
* Miscellaneous code cleanup

* Update action.yml
2021-10-21 12:00:00 -04:00
talva-tr
d0d71572ef
Update entrypoint.sh ()
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 ()
* 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. () 2021-09-05 08:22:47 -04:00
Tonye Jack
368be5bbf0
Rename all_changed_files to all_changed_and_modified_files. () 2021-09-04 09:42:11 -04:00
Tonye Jack
9cc7563ef7
Update other_changed_files output to also use the separator () 2021-09-04 09:31:19 -04:00
Tonye Jack
1af9ab3830
Update handling separator. () 2021-09-04 09:08:20 -04:00
Tonye Jack
55a857d66a
Update removing trailing separator ()
* 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 () 2021-08-27 22:59:23 -04:00
Ivan Pizhenko
8a41500fbe
Implement path parameter ()
* 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 () 2021-08-17 20:03:07 -04:00
Tonye Jack
2a771ad30d
Remove deleted files from the all_modified_files output () 2021-08-09 08:57:25 -04:00