Commit graph

134 commits

Author SHA1 Message Date
Daniil Samoylov
e55b1ed57a Upgrade node to 20 2024-01-30 14:52:42 +13:00
Daniil Samoylov
7c547bdd24 Release 3.0.1 2023-05-02 14:48:17 +12:00
Daniil Samoylov
45ee11c1ea
Merge pull request #5 from AurorNZ/Fix-security-alerts
Fix security alerts
2023-05-02 14:47:17 +12:00
Daniil Samoylov
996e087f9b Fix security alerts 2023-05-02 14:45:03 +12:00
Daniil Samoylov
0bb611c87f
Merge pull request #3 from ApprenticeFS/merge-main-from-dorny
Merge main from dorny
2023-05-02 14:38:43 +12:00
jordanb-afs
00ec0bcf8c bump jest back, typescript version was the real issue 2023-04-10 09:35:23 -06:00
jordanb-afs
6098719e4f backport changes to use newer core 2023-04-10 08:50:02 -06:00
jordanb-afs
5b3a607f35 merge in some of main 2023-04-10 08:07:09 -06:00
Jean Barmash
f12b3cee3b
Merge pull request #1 from jbarmash/jbarmash-upgrade-action-to-node16
Update Action to Node 16
2022-10-15 17:13:05 -04:00
Jean Barmash
48131fd4e9 Update Action to Node 16 2022-10-15 17:06:40 -04:00
Daniil Samoylov
1497c53e78 v3 2022-03-01 15:45:42 +13:00
Daniil Samoylov
fa09ebae05
Merge pull request #1 from AurorNZ/use-micromatch
Use micromatch
2022-03-01 15:43:33 +13:00
Daniil Samoylov
5af776fb70 Add tests for the filter with negation 2022-03-01 15:42:08 +13:00
Daniil Samoylov
6706fee383 Replace picomatch with micromatch
Using micromatch, removed `added|modified` rule to simplify the rules. The idea is to extend the output with things like `anyModified` or `anyDeleted` instead of putting that into the matcher rules to keep the matcher rules in sync with `micromatch` rules
2022-03-01 12:33:38 +13:00
Michal Dorner
1ec7035ff5
Merge pull request #95 from jsoref/misc
Improve README
2021-07-08 19:39:33 +02:00
Josh Soref
74cfa7995e
Markdown fixes 2021-07-07 23:52:11 -04:00
Josh Soref
a0e43af4ae
Split yaml sections 2021-07-07 23:33:53 -04:00
Josh Soref
b7a9db5c9b
brand: GitHub 2021-07-07 23:32:59 -04:00
Michal Dorner
b2feaf19c2
Update CHANGELOG for v2.10.2 2021-06-14 10:39:12 +02:00
Michal Dorner
71d51d8208
Merge pull request #91 from dorny/issue-90-get-local-branch
Fix #90 getLocalRef() returns wrong ref
2021-06-14 10:38:37 +02:00
Michal Dorner
af2564d3e0
Fix #90 getLocalRef() returns wrong ref
git show-ref will return all branches where end segment matches the input. This cause issues when there are both 'someBranch' and 'somePrefix/someBranch' branches. This fix ensures the correct ref is returned by explicitly matching segments after common parts (e.g. refs/heads).
2021-06-14 10:20:58 +02:00
Michal Dorner
78ab00f877
Update CHANGELOG for v2.10.1 2021-04-19 22:35:26 +02:00
Michal Dorner
f3d3fc848b
Merge pull request #85 from dorny/improve-robustness
Improve robustness of change detection
2021-04-19 22:34:23 +02:00
Michal Dorner
aae9c5619e
Fix some grammar issues in README 2021-04-19 22:18:44 +02:00
Michal Dorner
e59743163d
Fix unnecessary calls to getLocalRef() 2021-04-12 22:46:34 +02:00
Michal Dorner
78b1672eeb
Fix missing await 2021-04-12 22:31:38 +02:00
Michal Dorner
f1c461fccf
Fix logging inside ensureRefAvailable() 2021-04-12 22:22:57 +02:00
Michal Dorner
0b18612ac3
Improve support for PR events + verify base and ref are used correctly 2021-04-12 16:29:29 +02:00
Michal Dorner
87375a4a68
Merge pull request #84 from dorny/v2.10
Version v2.10.0
2021-04-11 21:54:12 +02:00
Michal Dorner
24a74833cc
Update CHANGELOG for v2.10.0 2021-04-11 21:48:05 +02:00
Michal Dorner
d0507d9a8a
Improve log output 2021-04-11 21:39:09 +02:00
Michal Dorner
f093f3520b
Merge pull request #83 from dorny/issue-81-gh-api-reports-no-changes
Fix change detection in PR when pullRequest.changed_files is incorrect
2021-04-11 21:23:46 +02:00
Michal Dorner
8d029eb508
Fix change detection in PR when pullRequest.changed_files was incorrect 2021-04-11 21:15:30 +02:00
Michal Dorner
07d6abdb9c
Merge pull request #82 from dorny/issue-79-add-head-ref-input
Add ref input parameter
2021-04-11 21:00:00 +02:00
Michal Dorner
e8f370c197
Run PR workflow on PR to any branch 2021-04-11 20:58:42 +02:00
Michal Dorner
58ed00ec48
Update README 2021-04-11 20:49:05 +02:00
Michal Dorner
02eeef4973
Fix undefined instead of ref in log output 2021-04-07 22:41:22 +02:00
Michal Dorner
37a6d38b2d
Add ref input parameter 2021-04-07 22:32:59 +02:00
Michal Dorner
208adf42c8
Ignore error when some tag on remote was updated 2021-03-29 17:09:18 +02:00
Michal Dorner
ad1ae68cd0
Merge pull request #78 from dorny/issue-77-tag-as-base-broken
Fix change detection when base is a tag
2021-03-26 00:18:14 +01:00
Michal Dorner
5d414b88ab
Update CHANGELOG for v2.9.3 2021-03-26 00:14:59 +01:00
Michal Dorner
a6989ad592
Get full ref name without multiple invocations to git show-ref 2021-03-26 00:05:48 +01:00
Michal Dorner
6d8169070c
Improve logging 2021-03-25 23:45:44 +01:00
Michal Dorner
3d4a25053b
Update dist 2021-03-25 23:39:10 +01:00
Michal Dorner
e59197f91b
Fix change detection when base is tag 2021-03-25 23:34:50 +01:00
Michal Dorner
ca8fa4002c
Merge pull request #75 from dorny/fix-searching-for-merge-base
Fetch base and search merge-base without creating local branch
2021-03-09 22:05:03 +01:00
Michal Dorner
c64be944bf
Update CHANGELOG 2021-03-09 22:01:10 +01:00
Michal Dorner
138368ff4f
Use ref instead of HEAD 2021-03-09 21:56:18 +01:00
Michal Dorner
a301a0ad83
Refactor getChangesSinceMergeBase() code 2021-03-09 21:44:15 +01:00
Michal Dorner
0c0d1a854a
Fetch base and search merge-base without creating local branch 2021-03-09 21:13:57 +01:00