Commit graph

21 commits

Author SHA1 Message Date
Jozef Izso
6126f49c2c
Use types arguments in the downloadStream event handlers
Issues #603
2025-06-08 13:21:12 +02:00
Jozef Izso
be2b975095
Use typed WorkflowRunEvent when parsing workflow_run payload
Issue #603
2025-06-08 13:21:12 +02:00
Johannes Spangenberg
f763877804 Fix problematic retransmission of authentication token
The retransmission of the authentication token to the server providing
the artifact caused the following errors when using Artifacts v4:

  HTTPError: Response code 400 (Authentication information is not given
  in the correct format. Check the value of Authorization header.)

It looks like the service serving the artifacts does not expect the
authentication header, and therefore complaines about inproper use of
the authentication header. Delegating the redirect-handling to the `got`
library fixes the issue according to my tsts.
2024-05-04 13:43:51 +02:00
Michal Dorner
aba461c3a7
Downgrade got package to v11.x
got@v12.x has a dependency on @sindresorhus/is@v5.x and it uses optional chaining operator "?.".  
Probably due to issue https://github.com/vercel/ncc/issues/873 this syntax got into our dist/index.js. For some unknown reason it results in error when action is executed in GitHub runner despite the node version is 16.17.
2022-08-23 23:10:34 +02:00
Michal Dorner
b595428c55
Update multiple packages + fix eslint resolver issue 2022-08-20 00:06:56 +02:00
Michal Dorner
57e5862411
Update multiple packages and configs 2022-08-19 23:37:14 +02:00
Michal Dorner
cf4814e8de
Do not throw error when workflow_run has been cancelled
It's common to cancel all jobs/workflows after first error. There could still be test results user wants to see in a report
2021-03-07 11:25:42 +01:00
Michal Dorner
073a4b9a03
Add info log when fetching git tree 2021-03-07 09:52:57 +01:00
Michal Dorner
953bdcc20a
Reduce number of API calls to get list of files tracked by GitHub 2021-03-07 09:33:58 +01:00
Michal Dorner
4e1eb73eb5
Fail the action if triggering workflow run has been cancelled 2021-02-20 14:43:46 +01:00
Michal Dorner
93c3964547
Misc fixes + test sleep before artifact-test 2021-02-17 21:20:40 +01:00
Michal Dorner
96237b3119
Improve logging & fix wrong SHA used 2021-02-17 08:28:52 +01:00
Michal Dorner
e356ffe9d0
Removed progress percentage as there is no way to deduce content length 2021-02-15 21:06:38 +01:00
Michal Dorner
1ae86a176d
artifact-provider: improve logging 2021-02-15 20:46:28 +01:00
Michal Dorner
da9cc2c0d9
Show artifact download progress 2021-02-15 20:29:51 +01:00
Michal Dorner
8819b4b3d4
Pass auth token to got request 2021-02-15 17:00:25 +01:00
Michal Dorner
52024f70c3
Use got to fetch artifact URL
See issue: https://github.com/octokit/request.js/issues/240
2021-02-15 16:49:52 +01:00
Michal Dorner
1f5bb98685
Fix artifact download 2021-02-15 16:28:28 +01:00
Michal Dorner
075144b122
Add artifact input to action.yml + improve logging 2021-02-15 15:54:15 +01:00
Michal Dorner
3510d9ac27
Add support for loading test results from artifacts 2021-02-15 15:18:55 +01:00
Michal Dorner
e97dbdd3e5
Process input and create check-run 2020-11-17 22:21:16 +01:00