Commit Graph

11 Commits

Author SHA1 Message Date
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