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

259 commits

Author SHA1 Message Date
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: #635
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. (#579) 2022-08-15 03:20:47 -06:00
Tonye Jack
234423e82b
chore: remove extra space. (#576) 2022-08-14 20:38:10 -06:00
Charles Santos
f834a938f2
improvement: Simplify checks (#570)
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 (#572)
* feat: validate the minimum required git version

Closes: #564

* 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 (#571) 2022-08-13 14:54:51 -06:00
Tonye Jack
6c44eb8294
fix: bug returning an error for the first repo commit (#554) 2022-07-21 20:33:15 -04: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
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
6a872c41f9
feat: switch to use debug messages for log outputs (#521) 2022-06-11 12:51:58 -04:00
Tonye Jack
6b8ef3323f
chore: explicitly set the GITHUB_WORKSPACE environment variable (#505) 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
Tonye Jack
1f30bd2085
fix: bug omitting the fetch-depth for push based events (#434) 2022-03-16 01:32:30 -04:00
Tonye Jack
a53d74f700
fix: handle errors for repositories without any previous commit history (#404)
* fix: Handle errors for repositories without any previous commit history

Fixes: #365

* Update diff-sha.sh
2022-02-26 05:09:14 -05:00
Tonye Jack
92456281bc
Update diff-sha.sh (#379)
* Update diff-sha.sh

* Update action.yml

* Update test.yml

* Update test.yml

* Update diff-sha.sh

* Update action.yml

* Update action.yml
2022-02-17 03:00:58 -05:00
Tonye Jack
6113e26177 Updated diff-sha.sh 2022-02-17 02:54:17 -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
aaf26005c3
fix: Bug detecting deleted files. (#364) 2022-02-14 18:28:12 -05:00