-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from actions:main #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, pull[bot]!). We assume it knows what it's doing!
Prepare cache `v4.1.0` release
…-cache Dependabot: add support for `/packages/artifact` and `/packages/cache`
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] <[email protected]>
…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] <[email protected]>
ESM-only with updated @octokit dependencies
* `@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 <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
* `@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] <[email protected]>
…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 <[email protected]> * Parse the mime type out of the content-type header Co-authored-by: Copilot <[email protected]> * 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 <[email protected]>
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] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )