Feature non-zipped actions artifacts (action v7 / nodejs / npm v6.2.0)#36786
Conversation
Signed-off-by: ChristopherHX <christopher.homberger@web.de>
|
GITHUB_SERVER_URL hack + @actions/artifact can be used like const { default: artifact } = await import("@actions/artifact");
var artifactName = "my-single-file";
process.env.GITHUB_SERVER_URL = "https://github.com" // Escape isGHES bomb
var uploadResult = await artifact.uploadArtifact(
artifactName,
['package.json'],
'./',
{skipArchive: true}
) |
…n the code and fixed it later by changing the other end
This reverts commit c6540ef.
Signed-off-by: ChristopherHX <christopher.homberger@web.de>
* browser blocks scripts + accessing localstorage etc.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 24 out of 24 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Is it ok to set charset to every file type? for text types in the test good point, but otherwise? |
Bug, fixed in new commit |
|
Found more problems in the "httplib.ServeXxx" functions, fixed together. |
|
Are you sure we should do something like this: This reads like a panic bomb if opt / opts is nil that is not type checked by golang. I would rather do one of
|
That part of code has been there for long time, and the opts can't be nil, so far so good.
Changing them will cause more changes in this PR, since it is not necessary, we can leave them to the future. Actually these |
Ok, yes everyone passes a non nil pointer, I think now this is mergeable as the last failing test is expected to pass now |
Done by AI : refactor: use value semantics for ServeHeaderOptions parameters #36982 |

Closes #36829