Commit Graph

13 Commits

Author SHA1 Message Date
Trim21
31cb9c3bde
feat: add method to get commit date from git
Signed-off-by: Trim21 <trim21.me@gmail.com>
2024-11-13 20:11:46 +08:00
CrazyMax
953dc3bb00
jest: mocks already cleared through configuration
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-18 11:07:29 +02:00
Emilien Escalle
e3bdf20325 fix(git): supports grafted pull refs
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2023-12-15 16:37:02 +01:00
Emilien Escalle
7d829c430b fix(git): handle detached ref in shallow clone context
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2023-12-03 21:15:38 +01:00
Emilien Escalle
bd5e1d1bab fix(git): handle properly detached HEAD ref 2023-09-19 18:35:04 +02:00
CrazyMax
b2a51dd6b4
git: use GitHub API for remoteSha if token provided
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-06-12 19:20:42 +02:00
CrazyMax
8a69d6cb01
git: alternative github context and additional methods
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-25 12:37:09 +01:00
CrazyMax
00f55b8385
chore: set license headers
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-31 03:34:59 +01:00
CrazyMax
c857b8425c
global enhancements
- create context object and remove github one
- more tests and improve mocks

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-30 00:08:45 +01:00
CrazyMax
b6f85576fa
noop on cmd call test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-24 01:21:36 +01:00
CrazyMax
66653922b3
test: clear mocks
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-24 00:50:22 +01:00
CrazyMax
fe07aec685
test(git): increase timeout
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-23 14:15:39 +01:00
CrazyMax
70326fd842
initial implementation
carries most of the logic used across our actions

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-17 12:07:05 +01:00