[pull] main from actions:main#7
Open
pull[bot] wants to merge 605 commits intoGraybar-codespace:mainfrom
Open
Conversation
Reviewer's Guide by SourceryThis pull request includes several significant changes across multiple packages in the actions/toolkit repository. The changes primarily focus on updating dependencies, improving error handling, enhancing security, and refactoring code for better performance and maintainability. Key updates include modifications to the artifact upload process, changes to OIDC token handling, improvements to the HTTP client, and updates to the glob and attest packages. Class diagram for OIDC Token HandlingclassDiagram
class OIDCConfig {
string issuer
string jwks_uri
}
class ClaimSet {
string iss
string ref
string sha
string repository
string event_name
string job_workflow_ref
string workflow_ref
string repository_id
string repository_owner_id
}
class OIDC {
+getIDTokenClaims(issuer: string): Promise<ClaimSet>
+decodeOIDCToken(token: string, issuer: string): Promise<JWTPayload>
+getJWKS(issuer: string): Promise<JSONWebKeySet>
+getIssuer(): string
}
OIDC --> OIDCConfig
OIDC --> ClaimSet
Class diagram for HTTP Client Proxy HandlingclassDiagram
class DecodedURL {
string username
string password
string href
}
class HttpClient {
+getProxyUrl(reqUrl: URL): URL | undefined
+getAgent(url: string): any
}
HttpClient --> DecodedURL
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…s/artifact/artifact-minor-patch-612b72ffd4 Bump the artifact-minor-patch group in /packages/artifact with 5 updates
[ARTIFACT] Reject download promise if timeout was reached
…meout Test: add a timeout test for downloading chunks from the stream
Bumps the artifact-minor-patch group in /packages/artifact with 5 updates: | Package | From | To | | --- | --- | --- | | [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) | `1.10.0` | `1.11.1` | | [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js) | `12.15.0` | `12.28.0` | | [@protobuf-ts/plugin](https://github.com/timostamm/protobuf-ts/tree/HEAD/packages/plugin) | `2.9.1` | `2.11.1` | | [typedoc](https://github.com/TypeStrong/TypeDoc) | `0.25.4` | `0.28.13` | | [typescript](https://github.com/microsoft/TypeScript) | `5.2.2` | `5.9.2` | Updates `@actions/core` from 1.10.0 to 1.11.1 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Updates `@azure/storage-blob` from 12.15.0 to 12.28.0 - [Release notes](https://github.com/Azure/azure-sdk-for-js/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md) - [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/storage-blob_12.15.0...@azure/storage-blob_12.28.0) Updates `@protobuf-ts/plugin` from 2.9.1 to 2.11.1 - [Release notes](https://github.com/timostamm/protobuf-ts/releases) - [Commits](https://github.com/timostamm/protobuf-ts/commits/v2.11.1/packages/plugin) Updates `typedoc` from 0.25.4 to 0.28.13 - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md) - [Commits](TypeStrong/typedoc@v0.25.4...v0.28.13) Updates `typescript` from 5.2.2 to 5.9.2 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml) - [Commits](microsoft/TypeScript@v5.2.2...v5.9.2) --- updated-dependencies: - dependency-name: "@actions/core" dependency-version: 1.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: artifact-minor-patch - dependency-name: "@azure/storage-blob" dependency-version: 12.28.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: artifact-minor-patch - dependency-name: "@protobuf-ts/plugin" dependency-version: 2.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: artifact-minor-patch - dependency-name: typedoc dependency-version: 0.28.13 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: artifact-minor-patch - dependency-name: typescript dependency-version: 5.9.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: artifact-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…t party actions that are available (checkout, setup-node, github-script) =
* `@actions/artifact`: convert to an ESM module * Update the package-lock.json * Undo the GHES ignores * Fix the reference to `@actions/http-client` in the lock file * Bump `@actions/core` to `3.0.0` * Remove `jest.config.cjs` * Import `OctoKitOptions` from `@octokit/core/types` * Pull the package version from `package.json` * Workaround getting the package version for the user-agent * Fix the `archiver` import * Fix linting
* `@actions/glob`: convert to an ESM module * Update packages/glob/RELEASES.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* `@actions/tool-cache`: convert to an ESM module * Fix jest config * Downgrade `nock` since it's conflicting with `@actions/attest`'s version
* `@actions/cache`: convert to an ESM module * Update the fixture to ESM syntax * Update the cache workflows * Bump `@actions/glob` to `0.6.1` * Fix awaiting in the cache unit tests * Fix a type issues in contracts * Export the `DownloadOptions`/`UploadOptions` like before * More cache test fixes * Make the cache units tests better * Add some more logging * Add retries to restore-cache.mjs
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.6 to 7.5.7. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v7.5.6...v7.5.7) --- updated-dependencies: - dependency-name: tar dependency-version: 7.5.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…s/attest/tar-7.5.7 chore(deps): bump tar from 7.5.6 to 7.5.7 in /packages/attest
* Download artifact: don't extract the downloaded file if the content-type isn't a zip * Remove unused `import` * Add support for specifying whether to skip decompressing * Prevent path traversal attacks * Fix indenting * Update packages/artifact/__tests__/download-artifact.test.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Parse the mime type out of the content-type header Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix some linting issues * Swap `zip` for `application/zip-compressed` * Test: negative check for malicious paths * Increase the timeout on one of the tests * Check the URL path for `.zip` to see if we can auto-decompress * Fix linting issue * Bump the package version and add release notes * Remove `launch.json` --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.3.3 to 5.3.4. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](NaturalIntelligence/fast-xml-parser@v5.3.3...v5.3.4) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.3.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tliving their tests (#2279)
* Artifact upload: support uploading single un-zipped files * Fix linters * Fix lint again * Fix tests * Check for 0 sized artifact lists * Add some more stream tests and handle an upload failure gracefully * Add CI tests for non-zipped artifacts * Add an html report to test rendering in the browser * Fix linting issue * Artifact: bump the version and add release notes * Fix Windows tests * Fix linting * stream: switch the error details to error type * Refactor the validation logic in `uploadArtifact` a bit * Added more details about how the name parameter is handled
Signed-off-by: Brian DeHamer <bdehamer@github.com>
custom user-agent string for attestation API reqs
Signed-off-by: Brian DeHamer <bdehamer@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ration-id Custom user-agent string for storage record API reqs
…ge-err-msg Update artifact storage error message
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.7 to 7.5.10. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v7.5.7...v7.5.10) --- updated-dependencies: - dependency-name: tar dependency-version: 7.5.10 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…s/attest/tar-7.5.10 chore(deps): bump tar from 7.5.7 to 7.5.10 in /packages/attest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )