3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-24 09:25:40 +00:00
Commit graph

287 commits

Author SHA1 Message Date
Tonye Jack
2b7a7f90b7
chore: test using non ascii characters in files input 2022-09-29 12:11:21 -06:00
Tonye Jack
1b438493cf chore: add back ability to fetch branch history 2022-09-28 20:42:32 -06:00
Tonye Jack
f60f9d4d6b chore: updated test 2022-09-25 00:00:23 -06:00
Tonye Jack
3d7cff9835 chore: remove logging the github context 2022-09-24 20:28:43 -06:00
Tonye Jack
0ec94592d4 Renamed entrypoint.sh -> get-changed-paths.sh 2022-09-24 18:30:52 -06:00
Tonye Jack
865fd6e79a
chore: update test 2022-09-24 00:48:58 -06:00
Tonye Jack
8e99cd3206
Update test.yml 2022-09-23 23:26:19 -06:00
Tonye Jack
9fdf62af89
Update test.yml 2022-09-23 23:16:40 -06:00
Tonye Jack
27dd522957
chore: log the github context in the test 2022-09-23 02:24:05 -06:00
Tonye Jack
6a02815615
feat: add support for running action on pull request close event 2022-09-20 23:12:02 -06:00
Tonye Jack
bbc26e5efa
Update test.yml 2022-09-04 23:34:23 -06:00
Tonye Jack
01d9c79ad2
Update test.yml 2022-09-04 23:20:36 -06:00
Tonye Jack
be849d1612
chore: test using for loop with output 2022-09-04 22:28:32 -06:00
Tonye Jack
5dd27b18ae update test name 2022-09-02 18:55:27 -06:00
Tonye Jack
6ffc0e26e3 added continue-on-error. 2022-09-02 18:50:38 -06:00
Tonye Jack
3a8cb18589 update the test. 2022-09-02 18:32:08 -06:00
Tonye Jack
16e8ea38da Updated the test 2022-09-02 18:25:29 -06:00
Tonye Jack
0f7f451225 updated tested platforms. 2022-09-02 15:24:30 -06:00
Tonye Jack
cb433740f0
chore: test invalid fetch-depth 2022-09-01 13:14:33 -06:00
renovate[bot]
62f3ac4728 chore(deps): update tj-actions/branch-names action to v6 2022-08-27 10:56:02 -06:00
Tonye Jack
659d5814cd
Merge branch 'main' into fix/bug-with-dir-names 2022-08-25 21:49:01 -06:00
Tonye Jack
6aa0ae3b2c fix: bug with dir name 2022-08-25 21:46:41 -06:00
Tonye Jack
4ae6f80c0f
Update test.yml 2022-08-22 14:54:51 -06:00
Tonye Jack
22920e8d5d
Update test.yml 2022-08-22 14:47:29 -06:00
Tonye Jack
620fa099ad updated error message and fixed the test 2022-08-21 11:04:51 -06:00
Tonye Jack
312a368eff added test 2022-08-21 11:04:51 -06:00
Tonye Jack
bfc4426d68
chore: remove skip for forks (#586) 2022-08-19 00:04:56 -06:00
Tonye Jack
8ec2566464
chore: restrict rename test to non forks (#573) 2022-08-14 20:26:46 -06:00
Tonye Jack
fb62fbd197
feat: add support for json formatted output. (#557) 2022-08-03 14:01:40 -06:00
Tonye Jack
b2ee165d6b
feat: fix bug with similar commit hashes. (#549)
* feat: improve error handling when similar commit hashed are detected.

* Updated triggered event

* Update debug message.

* Removed --no-merges restriction.

* Update to use qoutes.

* updated git fetch.
2022-07-18 16:34:41 -04:00
Tonye Jack
e2e05ab7f8
chore: update test (#539)
* chore: update test

* Update test.yml

* Update test.yml
2022-06-29 22:42:32 -04:00
Tonye Jack
34a865a2b2
chore: removed unused code (#534) 2022-06-24 00:19:45 -04:00
Tonye Jack
3df9c18651
chore: improve error handling (#533)
* chore: improve error handling

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update diff-sha.sh

* Update diff-sha.sh

* updated command.

* Updated message level.

* Updated message.

* Updated message.
2022-06-24 00:17:41 -04:00
Tonye Jack
fb1fe28aa9 Updated test.yml 2022-06-12 10:11:04 -04:00
Tonye Jack
4cbef76b5d
feat: add support for returning directory names (#522)
* feat: add support for returning directory names

* Updated step name

* Updated to return uniq dir names

* Updated README.md

* Updated README.md

* Updated separator encoding
2022-06-12 10:08:13 -04:00
Tonye Jack
0edfedf16d
fix: large output generated by all_old_new_renamed_files output (#502) 2022-05-25 17:47:58 -04:00
Tonye Jack
7a19e1f563 Fixed test. 2022-05-14 18:10:09 -04:00
Tonye Jack
ce04a71447 Renamed output. 2022-05-14 18:10:09 -04:00
Tonye Jack
f96d468a04 Updated test 2022-05-14 18:10:09 -04:00
Tonye Jack
6655125c37 Added get_renames function 2022-05-14 18:10:09 -04:00
Tonye Jack
8567a10991 Updated test.yml 2022-05-14 18:10:09 -04:00
Tonye Jack
0093196671
Revert "feat: Added support for returning old and new names of renamed files" (#485) 2022-05-14 18:08:54 -04:00
Tonye Jack
3baba75579
feat: Added support for returning old and new names of renamed files (#483) 2022-05-14 18:05:59 -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
Renovate Bot
b7c4b5161d chore(deps): update reviewdog/action-shellcheck action to v1.15 2022-04-21 11:25:01 -04:00
Tonye Jack
a6c69ab0ca
chore: remove unused code (#457)
* Delete label-conflict.yml

* Delete rebase.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml
2022-03-29 14:18:12 -04:00
Tonye Jack
98112b163c
chore: test changes to .github workflows files (#456) 2022-03-29 13:19:47 -04:00
Tonye Jack
f6c1fe1c6c
Update test.yml 2022-03-16 02:08:10 -04:00
Tonye Jack
041d24051d
Update test.yml 2022-03-16 01:38:55 -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
abb8062519
Revert "chore: test pull_requests events" (#416) 2022-03-04 04:35:19 -05:00
Tonye Jack
2702dd241c
chore: test pull_requests events (#415) 2022-03-04 04:22:46 -05:00
Renovate Bot
44a759c065 Update actions/checkout action 2022-03-01 14:57:43 -05:00
Tonye Jack
239c560880
Update test.yml 2022-02-26 04:15:32 -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
0b33274468
feat: Added support for using fork point to detect file changes. (#384)
* feat: Added support for using fork point to detect file changes.

* Updated README.md

* Updated test.yml

* Updated action.yml

* Updated diff-sha.sh

* Updated diff-sha.sh

* Updated diff-sha.sh

* Updated diff-sha.sh

* Updated diff-sha.sh

* Updated README.md

* Updated test file

* Updated test.yml

* Updated test.yml

* Removed unused code.

* Removed unused code.

* Test using head_ref

* Test using head

* Removed unused code.
2022-02-17 02:35:49 -05:00
Tonye Jack
1663a841cf
Test pull request diff (#378)
* Test pull request diff

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml
2022-02-16 02:49:49 -05:00
Tonye Jack
acb1d7db82
feat: Add support for excluding files via files-ignore input (#369) 2022-02-14 22:33:45 -05:00
Tonye Jack
a83b3d3943
chore: Cleanup duplicate action runs (#370) 2022-02-14 19:00:31 -05:00
Renovate Bot
225624ef26 Update reviewdog/action-shellcheck action to v1.14 2022-02-11 00:55:15 -05:00
Tonye Jack
fa18b2cf05
fix: resolve bug with pattern matching on windows (#341) 2022-02-01 22:30:40 -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
4e8540cc23
Add support for using github's glob pattern syntax (#304)
* Add support for using github's glob pattern syntax

Fixes: #264 #265

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

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

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update action.yml

* Update action.yml

* Update action.yml

* Update action.yml

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update sourcefiles.sh

* Update action.yml

* Update test.yml

* Update changed-files-list.txt

* Update changed-files-list.txt

* Update action.yml

* Update action.yml

* Update entrypoint.sh

* Update test.yml

* Update README.md

* Update test.yml

* Update entrypoint.sh

* Update test.yml

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-04 21:38:03 -05:00
Renovate Bot
0d89cb5d73 Update reviewdog/action-shellcheck action to v1.13 2021-12-28 05:11:23 -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
66714ebcad
Fixed error with test (#270)
* Fixed error with test

* Update action.yml
2021-12-04 07:00:44 -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
Renovate Bot
45f1e8fb92 Update reviewdog/action-shellcheck action to v1.12 2021-11-16 11:01:29 -05:00
Renovate Bot
ff85b03c27 Update reviewdog/action-shellcheck action to v1.11 2021-11-13 05:10:59 -05:00
Renovate Bot
3f78450f6c Update reviewdog/action-shellcheck action to v1.10 2021-11-07 10:37:02 -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
4f72533e45
Fixed error with test (#211) 2021-10-15 13:36:09 -04:00
Tonye Jack
3451eadc87
Updated usage of for loop accessing array items. (#209) 2021-10-12 09:47:12 -04:00
Tonye Jack
5a6b6bb1c3
Update test.yml 2021-09-26 02:32:37 -04:00
Renovate Bot
1f37ab54c8 Update reviewdog/action-shellcheck action to v1.9 2021-09-25 05:33:38 -04:00
Tonye Jack
1a59b03b8b
Updated test (#195) 2021-09-19 20:44:31 -04:00
dependabot[bot]
223c35895d
Bump tj-actions/branch-names from 4.9 to 5 (#193)
Bumps [tj-actions/branch-names](https://github.com/tj-actions/branch-names) from 4.9 to 5.
- [Release notes](https://github.com/tj-actions/branch-names/releases)
- [Changelog](https://github.com/tj-actions/branch-names/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/branch-names/compare/v4.9...v5)

---
updated-dependencies:
- dependency-name: tj-actions/branch-names
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 21:08:57 -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
1af9ab3830
Update handling separator. (#181) 2021-09-04 09:08:20 -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
Renovate Bot
005b4f86af Update tj-actions/branch-names action to v4.9 2021-08-22 23:57:49 -04:00
Tonye Jack
75933dc40b
Dedupe output file names. (#153) 2021-08-06 06:14:50 -04:00
Renovate Bot
5cab6c42e2 Update tj-actions/branch-names action to v4.8 2021-08-04 15:39:42 -04:00
Renovate Bot
3a01bb540d Update reviewdog/action-shellcheck action to v1.7 2021-07-26 12:44:49 -04:00
Tonye Jack
8c6f276ea5
Added support for detecting non specific file changes. (#137) 2021-07-17 15:13:26 -04:00
Tonye Jack
d825b1f709
Update test.yml 2021-07-17 11:54:59 -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
Krasimir Nikolov
53afe7a5b5
Add custom source sha (#126)
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2021-07-14 16:57:17 -04:00
Renovate Bot
4db62cd596 Update reviewdog/action-shellcheck action to v1.6 2021-06-26 10:36:46 -04:00
Tonye Jack
73f135c7fa
Add macos to test. (#107) 2021-06-18 19:09:00 -04:00
Tonye Jack
58d2c2ff31
Update test.yml 2021-06-18 15:05:37 -04:00
Tonye Jack
6254a409a7
Add support for multiple platforms (#102) 2021-06-18 10:19:28 -04:00
Tonye Jack
5fe8e4d604
Update test.yml (#81) 2021-05-25 00:30:19 -04:00
Tonye Jack
bc50a219c9
Update test.yml 2021-05-21 08:11:59 -04:00
Tonye Jack
4a37137ae0
Update test.yml 2021-05-17 04:26:35 -04:00
Tonye Jack
391126c25c
Update test.yml 2021-05-17 04:19:10 -04:00
Tonye Jack
49e4a65bc2
Fixed bug with trailing separator (#74) 2021-05-17 04:02:50 -04:00
Tonye Jack
060d09a82f
Improve test coverage (#71) 2021-05-16 16:26:22 -04:00
dependabot[bot]
a0089a8516
Bump actions/checkout from 2 to 2.3.4 (#60)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 11:44:03 -04:00
Tonye Jack
81f32e2402
Strip leading whitespaces (#50) 2021-05-01 19:58:35 -04:00
Tonye Jack
f863cedeea
Update test.yml 2021-05-01 15:49:50 -04:00
Tonye Jack
6a4e739596
Switch to using a bash script. (#39) 2021-05-01 15:14:25 -04:00
Tonye Jack
7841015a94
Update test.yml 2021-05-01 08:59:18 -04:00
Tonye Jack
dc2959d455
Update test.yml 2021-05-01 07:55:01 -04:00
Tonye Jack
c23398e584
Update test.yml 2021-04-23 06:17:20 -04:00
Tonye Jack
e368753cac
Update test.yml 2021-04-23 06:14:21 -04:00
Tonye Jack
506d6c005e
Update test.yml 2021-04-04 09:08:26 -04:00
Tonye Jack
715ae3d38e
Update test.yml 2021-04-02 09:12:33 -04:00
Tonye Jack
33a185bbac
Update test.yml 2021-04-02 09:00:06 -04:00
Tonye Jack
122b223c04
Update test.yml 2021-04-02 08:56:53 -04:00
Tonye Jack
78d6add10d
Update test.yml 2021-04-02 08:54:37 -04:00
Tonye Jack
ca86f77326
Update test.yml 2021-04-02 08:52:58 -04:00
Tonye Jack
56c6262bb9
Merge branch 'main' into updated-the-all-changed 2021-04-02 08:51:02 -04:00
Tonye Jack
1c5a3415f3
Update test.yml 2021-04-02 08:49:56 -04:00
Tonye Jack
48835883f9
Update test.yml 2021-04-02 08:46:17 -04:00
Tonye Jack
8673629857
Update test.yml 2021-04-02 08:45:11 -04:00
Tonye Jack
a4321716fa
Update test.yml 2021-04-02 08:44:13 -04:00
Tonye Jack
c2eb99504f
Update test.yml 2021-04-02 08:41:38 -04:00
Tonye Jack
66a53ea26f
Update test.yml 2021-04-02 08:28:14 -04:00
Tonye Jack
6868b512ca
Update test.yml 2021-04-02 08:27:48 -04:00
Tonye Jack
f41f9eb54b
Update test.yml 2021-04-02 08:13:34 -04:00
Tonye Jack
78af41436f
Update test.yml 2021-03-25 19:23:19 -04:00
Tonye Jack
8a0c8897e3
Update test.yml 2021-03-20 08:09:58 -04:00
Tonye Jack
8d4aa1c912
Update test.yml 2021-03-05 07:38:19 -05:00
Tonye Jack
678aa7487a
Update test.yml 2021-03-05 07:28:53 -05:00
Tonye Jack
7cb6f92914
Update test.yml 2021-03-05 06:17:27 -05:00
Tonye Jack
ef3cd7549b
Update test.yml 2021-03-05 06:15:46 -05:00
Tonye Jack
3e4883b992
Update test.yml 2021-03-05 06:15:01 -05:00
Tonye Jack
9590dcf67b
Update test.yml 2021-03-05 05:59:46 -05:00
Tonye Jack
e40a576638
Update test.yml 2021-03-05 05:49:41 -05:00
Tonye Jack
e1b9045667
Update test.yml 2021-03-04 22:36:52 -05:00
Tonye Jack
7eba13b12c Initial commit. 2021-03-04 21:36:52 -05:00