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

290 commits

Author SHA1 Message Date
adonisgarciac
171fd357a8
add raw-output option for json output (#900)
Co-authored-by: Tonye Jack <jtonye@ymail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-29 22:27:08 -07:00
Tonye Jack
57f3d32fad
Update test.yml 2022-12-28 10:28:40 -07:00
Tonye Jack
d09f11f8d0
Update test.yml 2022-12-28 09:43:06 -07:00
Tonye Jack
83952deb06
feat: add support for writing outputs to files (#890)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-19 17:51:22 +00:00
Tonye Jack
a2b1e5dbb9
chore: update test (#888) 2022-12-19 09:06:52 +00:00
Tonye Jack
d2f7657e17
fix: error retrieving changed files (#882) 2022-12-18 22:12:33 -07:00
Tonye Jack
3787560a3d
Update test.yml 2022-12-16 19:11:02 -07:00
Tonye Jack
f62204d4c7
chore: remove ubuntu 18.04 from test 2022-12-15 16:50:00 -07:00
renovate[bot]
5f902276c1
chore(deps): update reviewdog/action-shellcheck action to v1.16 2022-12-13 11:56:20 +00:00
Tonye Jack
e54a2423a8
Merge branch 'main' into feat/add-support-for-dir-names-max-depth 2022-11-23 17:40:08 -07:00
Tonye Jack
df466ccd7d fixed test 2022-11-23 17:32:14 -07:00
Tonye Jack
5abef67e95 feat: replace all usage of nrwl/last-successful-commit-action with nrwl/nx-set-shas 2022-11-23 15:02:10 -07:00
Tonye Jack
1bf2487713
Update test.yml 2022-11-15 10:45:13 -07:00
Tonye Jack
07952792bb
Update test.yml 2022-11-15 10:43:14 -07:00
Tonye Jack
61fb39f691
Update test.yml 2022-11-11 08:46:24 -07:00
Tonye Jack
9478e36442
chore: update test 2022-11-11 08:21:05 -07:00
Tonye Jack
c21087a6bb updated test 2022-11-11 07:33:01 -07:00
Tonye Jack
eea929be22 fixed the test 2022-11-08 09:31:21 -07:00
Tonye Jack
1abc7bec79 chore: update test 2022-11-06 21:18:59 -07:00
Tonye Jack
c755692dde
Update test.yml 2022-11-06 20:50:36 -07:00
Tonye Jack
dee73a71be chore: fixed test 2022-11-04 18:18:11 -06:00
Tonye Jack
b94eca1419
chore: update test 2022-11-04 11:40:18 -06:00
Tonye Jack
441dd9f254
chore: improve test coverage 2022-11-04 11:08:33 -06:00
Tonye Jack
b8094dc31e Update fetch_depth 2022-11-03 11:31:52 -06:00
Tonye Jack
22c9314c52
Merge branch 'main' into chore/update-test 2022-11-03 10:28:51 -06:00
Tonye Jack
c50a04d832 Updated test.yml 2022-11-03 09:54:28 -06:00
Tonye Jack
f8d4b5c286 Updated to fetch the current PR branch 2022-11-03 09:50:18 -06:00
Tonye Jack
31d24d6654
Update test.yml 2022-11-03 09:31:04 -06:00
Tonye Jack
b2e6ecea09 Updated test 2022-11-03 08:41:37 -06:00
Tonye Jack
fea3b5eab8 Updated test 2022-11-03 08:33:45 -06:00
Tonye Jack
61af1b57e4
Update test.yml 2022-11-03 06:26:40 -06:00
Tonye Jack
d66098e3dd
chore: update test 2022-11-02 15:09:50 -06:00
Tonye Jack
b65bd345ef
chore: update test (#738) 2022-11-01 16:55:16 +00:00
Tonye Jack
5c9ad7fce6 Updated test.yml 2022-10-25 15:00:32 -06:00
Tonye Jack
4b455d3d83 Updated test.yml 2022-10-25 15:00:08 -06:00
Tonye Jack
fe56d428c0 feat: add support for fetching more history 2022-10-25 14:12:36 -06:00
Tonye Jack
63725ea32d
chore: clean up test 2022-10-21 06:18:43 -06:00
Tonye Jack
f36f89daeb chore: clean up test 2022-10-15 22:13:19 -06:00
Tonye Jack
b45fdcf650 Updated test.yml 2022-10-15 18:03:55 -06:00
Tonye Jack
baf172ed6a Updated test.yml 2022-10-15 17:54:45 -06:00
Tonye Jack
e64110acb1
Update test.yml 2022-10-15 17:33:25 -06:00
Tonye Jack
62c6729ad3
Update test.yml 2022-10-15 12:50:01 -06:00
Tonye Jack
fd0ee42a4d
Update test.yml 2022-10-15 12:48:13 -06:00
Tonye Jack
d46fe4c5c6
Update test.yml 2022-10-15 12:47:32 -06:00
Tonye Jack
307e695c51
chore: clean up test 2022-10-15 12:34:47 -06:00
Tonye Jack
09ae9e21b6 Updated test.yml 2022-10-14 13:17:09 -06:00
Tonye Jack
982d4d0dea Update test. 2022-10-14 13:04:29 -06:00
Tonye Jack
ec96351509
chore: update test 2022-10-12 13:39:22 -06:00
Tonye Jack
2740f4ff1f updated test step name. 2022-10-12 12:57:30 -06:00
Tonye Jack
dd7c81416d
Merge pull request #666 from tj-actions/chore/remove-redundant-since-last-remote-input
chore: remove redundant since last remote commit input
2022-10-02 07:33:27 -06:00
Tonye Jack
f3f3a8e0a0
Update test.yml 2022-10-02 07:12:35 -06:00
Tonye Jack
8b5e11a2b1
chore: fixed test 2022-10-02 07:05:07 -06:00
Tonye Jack
e73ff65381
chore: dump github context 2022-10-02 06:07:58 -06:00
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