Commit Graph

27 Commits

Author SHA1 Message Date
CrazyMax
eb838bda3a
jest: rename fixtures folder
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-31 11:04:17 +02:00
CrazyMax
99e6b01d39
github: use isGhes func from actions/artifact module
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-15 13:14:08 +02:00
CrazyMax
83d63d1cf1
github: isGHES func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-02 13:21:26 +02: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
CrazyMax
fe58cc26f5
github: make attempts optional in workflowRunURL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-12 09:22:43 +02:00
CrazyMax
15788e8b93
buildx(build): resolveCacheToAttrs func
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-06-05 13:59:57 +02:00
CrazyMax
760d0c2369
github: set attempts to workflowRunURL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-05-27 19:57:40 +02:00
CrazyMax
11cc7c697d
github: workflowRunURL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-02-04 11:08:41 +01:00
CrazyMax
0e5f8a766a
github: fix jwt-decode import and test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-10-28 04:37:59 +02:00
CrazyMax
7b63a1220d
chore: update dev dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-09-07 10:05:35 +02:00
CrazyMax
5df47fe964
chore: update dev dependencies
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-26 21:16:09 +02:00
CrazyMax
c3aa7f205d
github: throw if runtime token invalid
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-20 10:14:11 +01:00
CrazyMax
556fff451f
test: rename github repo fixture
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-04 03:03:11 +01:00
CrazyMax
7a9a28cd90
github: handle malformed runtime token
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-03 13:17:00 +01:00
CrazyMax
3e2548a8ed
github: translate access controls permissions
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-03 04:11:14 +01:00
CrazyMax
ad59af8cf2
github: printActionsRuntimeToken
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-03 03:33:22 +01:00
CrazyMax
fe8b21ecf5
github: move types
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-01 13:06:20 +01:00
CrazyMax
c617b15f70
Merge pull request #12 from crazy-max/github-apiurl
github: apiUrl
2023-02-01 01:46:12 +01:00
CrazyMax
17f9c80d9c
github: apiURL
Also took the opportunity to make some methods static

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-01 01:42:10 +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
039779492c
test: githubActionsRuntimeToken
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-30 03:08:12 +01:00
CrazyMax
85ef93202e
move GitHub specific to its own class
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-30 02:31:09 +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
b03f6a405c
github: add serverURL annd provenanceBuilderID
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-25 03:20:18 +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
aae4a2d7bc
Some improvements
- Use classes
- Split buildx/builder modules
- Additional tests

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-23 10:07:14 +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