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

256 commits

Author SHA1 Message Date
Tonye Jack
0d9ec12402 Fixed test 2022-12-04 23:54:36 -07:00
Tonye Jack
ef8591de30 Updated to use merge-base 2022-12-04 23:33:22 -07:00
Tonye Jack
f282e19e52 Updated to use merge-base 2022-12-04 23:27:32 -07:00
Tonye Jack
a20b263d03 Updated to use merge-base 2022-12-04 23:16:45 -07:00
Tonye Jack
69b90fbdbe fix: determining the merge-base with limited history. 2022-12-04 23:13:42 -07:00
Tonye Jack
91e0894f3f
Update diff-sha.sh 2022-11-23 21:46:23 -07:00
Tonye Jack
bf097488b7
Update diff-sha.sh 2022-11-18 06:28:49 -07:00
Tonye Jack
fad01cd373
chore: fix error locating last remote commit sha 2022-11-18 06:17:59 -07:00
Tonye Jack
7b68fcd082
Update diff-sha.sh 2022-11-17 12:59:15 -07:00
Tonye Jack
96ce8da4f6
Update diff-sha.sh 2022-11-17 12:32:34 -07:00
Tonye Jack
2ed48aa52f
Update diff-sha.sh 2022-11-17 12:25:27 -07:00
Tonye Jack
0efacabbb5
Update diff-sha.sh 2022-11-17 12:05:17 -07:00
Tonye Jack
61fac4da4b Updated diff-sha.sh 2022-11-17 08:28:46 -07:00
Tonye Jack
6ea66cc129 Updated diff-sha.sh 2022-11-17 08:24:46 -07:00
Tonye Jack
30b9252953 Updated diff-sha.sh 2022-11-17 08:16:17 -07:00
Tonye Jack
3b10cebd3d
Update diff-sha.sh 2022-11-16 21:06:22 -07:00
Tonye Jack
fe47f7dc4c
fix: pulling current branch history 2022-11-16 11:29:35 -07:00
Tonye Jack
e447432ead
Update diff-sha.sh 2022-11-15 11:11:36 -07:00
Tonye Jack
4203489288
Update diff-sha.sh 2022-11-15 11:08:51 -07:00
Tonye Jack
3e827ae4d1
Update diff-sha.sh 2022-11-15 10:38:56 -07:00
Tonye Jack
839d5701db
fix: bug with retrieving the last remote commit 2022-11-15 10:29:27 -07:00
Tonye Jack
4f5723a9fe fix: finding merge-base 2022-11-15 09:31:41 -07:00
Tonye Jack
443b6c32e7 Show progress 2022-11-11 07:47:09 -07:00
Tonye Jack
56a01f8a9e Update arguments 2022-11-11 07:44:25 -07:00
Tonye Jack
2e4e636392 Updated the retrieving the merge-base 2022-11-11 07:39:00 -07:00
Tonye Jack
ac07453ae9 feat: skip merge-base check for non shallow clones and fallback to using --fork-point 2022-11-11 07:28:34 -07:00
Tonye Jack
67230d6de5 fix: re-add ability to change the max fetch depth 2022-11-08 12:45:25 -07:00
Tonye Jack
420a7792d0 fix: bug with force pushing commits to pr branches 2022-11-08 11:06:59 -07:00
Tonye Jack
9962dc418e fix: bug with invalid branch name 2022-11-08 09:00:45 -07:00
Tonye Jack
8dc46ae460 fix: similar commit hashes 2022-11-07 08:04:54 -07:00
Tonye Jack
2d251d6924
Update diff-sha.sh 2022-11-06 23:49:17 -07:00
Tonye Jack
c46761fdcd
Update diff-sha.sh 2022-11-06 23:28:15 -07:00
Tonye Jack
321490c60a
Update diff-sha.sh 2022-11-06 22:53:53 -07:00
Tonye Jack
dc88c3a0c5
chore: exclude fetching tags 2022-11-06 22:31:54 -07:00
Tonye Jack
1e46f60599 feat: add support for using the last remote commit 2022-11-06 19:50:53 -07:00
Tonye Jack
1b73c818fe
chore: update debug message 2022-11-05 02:59:57 -06:00
Tonye Jack
6a0f4e7f4d
Update diff-sha.sh 2022-11-04 18:30:36 -06:00
Tonye Jack
ac593b977e
Update diff-sha.sh 2022-11-04 16:40:47 -06:00
Tonye Jack
5b43f91839
Update diff-sha.sh 2022-11-04 16:31:48 -06:00
Tonye Jack
367c547d7d
Update diff-sha.sh 2022-11-04 15:21:49 -06:00
Tonye Jack
6ac1087775
Update diff-sha.sh 2022-11-04 15:09:11 -06:00
Tonye Jack
2982c7c1d0
Update diff-sha.sh 2022-11-04 15:06:44 -06:00
Tonye Jack
a3a62da413
Update diff-sha.sh 2022-11-04 14:49:06 -06:00
Tonye Jack
958d453c5d
Update diff-sha.sh 2022-11-04 14:43:22 -06:00
Tonye Jack
0f09389954
Update diff-sha.sh 2022-11-04 14:41:40 -06:00
Tonye Jack
dc104b5c83
Update diff-sha.sh 2022-11-04 14:25:33 -06:00
Tonye Jack
97e67238ea
Update diff-sha.sh
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-04 14:22:55 -06:00
Tonye Jack
ac72938f3a
Update diff-sha.sh 2022-11-04 14:17:10 -06:00
Tonye Jack
133f857c90
Update diff-sha.sh 2022-11-04 13:07:40 -06:00
Tonye Jack
3e8708a684
Update diff-sha.sh 2022-11-04 12:28:22 -06:00
Tonye Jack
90a4d2a19b
Update diff-sha.sh 2022-11-04 12:12:26 -06:00
Tonye Jack
251c03879a
Update diff-sha.sh 2022-11-04 12:10:09 -06:00
Tonye Jack
ae5f032774
Update diff-sha.sh 2022-11-04 12:09:42 -06:00
Tonye Jack
dd6f3c9e10
Update diff-sha.sh 2022-11-04 12:02:58 -06:00
Tonye Jack
84396edc7e
Update diff-sha.sh 2022-11-04 11:54:46 -06:00
Tonye Jack
6079b26874
Update diff-sha.sh 2022-11-04 11:40:44 -06:00
Tonye Jack
1fd624717d
Update diff-sha.sh 2022-11-04 11:26:51 -06:00
Tonye Jack
dca71d6aaa
Update diff-sha.sh 2022-11-04 11:24:59 -06:00
Tonye Jack
ed9a8c623c
feat: include merge commit for push events 2022-11-03 20:12:34 -06:00
Tonye Jack
08509d9a42
Update diff-sha.sh 2022-11-03 19:24:05 -06:00
Tonye Jack
807520bd14 Updated test 2022-11-03 17:30:38 -06:00
Tonye Jack
68efb13b02 Updated test 2022-11-03 17:06:45 -06:00
Tonye Jack
3351aa00b2
Update diff-sha.sh 2022-11-03 15:12:56 -06:00
Tonye Jack
b4b4b40c03 Updated diff-sha.sh 2022-11-03 12:32:34 -06:00
Tonye Jack
bfe077bfb6 Updated diff-sha.sh 2022-11-03 12:29:02 -06:00
Tonye Jack
62aef87f39 Updated diff-sha.sh 2022-11-03 12:08:29 -06:00
Tonye Jack
a8965747f2 Updated diff-sha.sh 2022-11-03 11:47:33 -06:00
Tonye Jack
6a28d55cbf Updated diff-sha.sh 2022-11-03 11:45:56 -06:00
Tonye Jack
902daca592 Updated debug message. 2022-11-03 11:33:33 -06:00
Tonye Jack
e2bb33a278 Updated debug message. 2022-11-03 11:04:53 -06:00
Tonye Jack
f390b8d769 Updated to increase shallow clone depth 2022-11-03 10:10:27 -06:00
Tonye Jack
764c279509 Updated to increase shallow clone depth 2022-11-03 10:08:21 -06:00
Tonye Jack
bf1b284c20 Updated to fetch the current PR branch 2022-11-03 10:00:55 -06:00
Tonye Jack
f8d4b5c286 Updated to fetch the current PR branch 2022-11-03 09:50:18 -06:00
Tonye Jack
8fb8d46593 Updated error message. 2022-11-03 09:12:49 -06:00
Tonye Jack
7b3e6ed2f5 Updated diff-sha.sh 2022-11-03 09:04:38 -06:00
Tonye Jack
f1febd43b2
Update diff-sha.sh 2022-11-03 06:50:01 -06:00
Tonye Jack
b9fcfc65d8
Update diff-sha.sh 2022-11-03 06:45:29 -06:00
Tonye Jack
420c851349
Update diff-sha.sh 2022-11-03 06:34:25 -06:00
Tonye Jack
4703a0ce80
Update diff-sha.sh 2022-11-03 06:23:50 -06:00
Tonye Jack
4054514874
Update diff-sha.sh 2022-11-03 06:18:03 -06:00
Tonye Jack
b9e70f7821
Update diff-sha.sh 2022-11-02 16:34:44 -06:00
Tonye Jack
2a5aadbf48
Merge branch 'main' into fix/including-changed-files-from-merge-commits 2022-11-02 16:09:16 -06:00
Tonye Jack
0643dfe61b
fix: error finding merge-base 2022-11-02 15:27:44 -06:00
Tonye Jack
3fa5a82cb1
Merge branch 'main' into fix/including-changed-files-from-merge-commits 2022-11-02 15:02:05 -06:00
Tonye Jack
f1bc8b0892
Update diff-sha.sh 2022-11-02 08:29:27 -06:00
Tonye Jack
e92598caeb
feat: pull initial history 2022-11-02 08:09:18 -06:00
Tonye Jack
57168941b2
Update diff-sha.sh 2022-11-01 11:43:23 -06:00
Tonye Jack
d3cd1f406f
Update diff-sha.sh 2022-11-01 02:21:57 -06:00
Tonye Jack
986dcdd054
fix: including changed files from merge commits 2022-11-01 02:20:59 -06:00
Tonye Jack
3c4becd315
chore: fix detecting changes with the first PR commit 2022-10-30 21:52:09 -06:00
Tonye Jack
1e6b143073 Fixed bug retrieving the first commit of a pull request 2022-10-30 21:08:40 -06:00
Tonye Jack
983dfd764c
chore: update debug message 2022-10-30 21:03:21 -06:00
Tonye Jack
39518769ff Fixed test 2022-10-30 20:39:13 -06:00
Tonye Jack
a5eb308eb7 fix: bug detecting initial commits 2022-10-30 20:28:12 -06:00
Tonye Jack
98989f19ee fix: bug with detecting changes in initial commit. 2022-10-30 17:33:27 -06:00
Tonye Jack
a8c8155e8e update function 2022-10-30 17:06:59 -06:00
Tonye Jack
fcedc1dc3f Fixed bug with command. 2022-10-30 16:58:43 -06:00
Tonye Jack
c1cc30c8d4 Update diff-sha.sh 2022-10-30 16:51:35 -06:00
Tonye Jack
79704e5d8f
Update diff-sha.sh 2022-10-30 10:34:50 -06:00
Tonye Jack
c276f6ff7e
Update diff-sha.sh 2022-10-30 10:27:25 -06:00
Tonye Jack
252a35e796
Create diff-sha.sh 2022-10-30 10:20:35 -06:00
Tonye Jack
7f68648067 fix: bug with finding merge-base 2022-10-30 10:16:43 -06:00
Tonye Jack
bc752d6087 chore: remove comment 2022-10-25 16:15:37 -06:00
Tonye Jack
941c21b681 Simplify code 2022-10-25 14:58:02 -06:00
Tonye Jack
fe56d428c0 feat: add support for fetching more history 2022-10-25 14:12:36 -06:00
Tonye Jack
a558487ee0 Updated usage of until 2022-10-15 18:21:02 -06:00
Tonye Jack
d8ae75228d Updated diff-sha.sh 2022-10-15 17:25:37 -06:00
Tonye Jack
61ed208946 Updated diff-sha.sh 2022-10-15 16:26:42 -06:00
Tonye Jack
4f38efcb15 Updated debug message. 2022-10-15 16:01:59 -06:00
Tonye Jack
724c3d91d5 Update diff-sha.sh 2022-10-14 13:01:08 -06:00
Tonye Jack
759895012f feat: remove duplicate files support backwards compatible set-output 2022-10-14 12:59:47 -06:00
Logan Pulley
1ced186070
Merge branch 'set-output-github-output' of github.com:lpulley/changed-files into set-output-github-output 2022-10-12 15:16:28 -05:00
Logan Pulley
dd9210256d
Use cat instead of echo 2022-10-12 15:16:26 -05:00
Logan Pulley
be3cb7b5aa
Merge branch 'main' into set-output-github-output 2022-10-12 15:14:48 -05:00
Logan Pulley
81520789a6
Add spaces 2022-10-12 15:14:35 -05:00
Tonye Jack
5cd49f8c2d Updated the log message 2022-10-12 13:23:59 -06:00
Tonye Jack
6d2a5c29e8 fix: bug with new commits pushed to the base branch that result in errors when shallow history is used 2022-10-12 12:39:30 -06:00
Logan Pulley
a299058164
Combine repeated echos 2022-10-12 13:35:11 -05:00
Logan Pulley
c8b8b3cadf
Double-quote $GITHUB_OUTPUT 2022-10-12 11:35:06 -05:00
Logan Pulley
2610be7bb8
Use >>$GITHUB_OUTPUT instead of ::set-output 2022-10-12 11:23:25 -05:00
Tonye Jack
1b438493cf chore: add back ability to fetch branch history 2022-09-28 20:42:32 -06:00
Tonye Jack
7de6088904 Updated check 2022-09-25 09:23:05 -06:00
Tonye Jack
8281b8ad57 fix: bug with force pushed commits 2022-09-25 09:19:22 -06:00
Tonye Jack
bc7fa5e550 Updated determining the remote sha 2022-09-24 20:52:05 -06:00
Tonye Jack
4cd2d9f19e Fixed test 2022-09-24 20:21:08 -06:00
Tonye Jack
69d9410ad3 chore: improve debug message. 2022-09-24 19:59:18 -06:00
Tonye Jack
05f9744e41 remove unused code 2022-09-24 19:33:47 -06:00
Tonye Jack
ef1134dca7 update to handle the default event.before 2022-09-24 19:33:05 -06:00
Tonye Jack
5485a02af8 Updated to use the last remote commit by default. 2022-09-24 19:08:58 -06:00
Tonye Jack
7939ced35e
feat: add support for closed pull requests with merge true
Closes: 
2022-09-23 22:56:09 -06:00
Tonye Jack
dcd088713a updated debug message. 2022-09-02 18:40:51 -06:00
Tonye Jack
618e703768 Fixed bug with setting the exit status 2022-09-02 18:23:52 -06:00
Tonye Jack
1faa996b87 Updated setting the exit status 2022-09-02 16:41:25 -06:00
Tonye Jack
4472745cf1 add debug message. 2022-09-02 15:20:06 -06:00
Tonye Jack
52a83d3ef3 fix: bug using invalid fetch-depth 2022-09-02 15:08:19 -06:00
Tonye Jack
620fa099ad updated error message and fixed the test 2022-08-21 11:04:51 -06:00
Tonye Jack
58ae566dc6
fix: error retrieving base sha. () 2022-08-15 03:20:47 -06:00
Tonye Jack
234423e82b
chore: remove extra space. () 2022-08-14 20:38:10 -06:00
Charles Santos
f834a938f2
improvement: Simplify checks ()
Co-authored-by: Tonye Jack <jtonye@ymail.com>
2022-08-14 20:36:27 -06:00
Tonye Jack
7dd9711c64
feat: validate the minimum required git version ()
* feat: validate the minimum required git version

Closes: 

* Update diff-sha.sh

* Update diff-sha.sh

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

* Update diff-sha.sh

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-13 15:50:50 -06:00
Tonye Jack
0c7f7d1ce7
chore: remove unused code () 2022-08-13 14:54:51 -06:00
Tonye Jack
6c44eb8294
fix: bug returning an error for the first repo commit () 2022-07-21 20:33:15 -04:00
Tonye Jack
b2ee165d6b
feat: fix bug with similar commit hashes. ()
* 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
3df9c18651
chore: improve error handling ()
* 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
6a872c41f9
feat: switch to use debug messages for log outputs () 2022-06-11 12:51:58 -04:00
Tonye Jack
6b8ef3323f
chore: explicitly set the GITHUB_WORKSPACE environment variable () 2022-05-29 20:32:23 -04:00
Tonye Jack
9e1cda0fb7 Fixed the test 2022-05-14 21:29:27 -04:00
Tonye Jack
20b6ac540d fix: bug finding fork point commit and removed unused temp_changed_files remote. 2022-05-14 21:19:45 -04:00
Tonye Jack
931aafa079
chore: Update the exit status when 2022-05-14 02:35:56 -04:00