Skip to content

Commit a618217

Browse files
committed
Update GitHub Actions Toolkit stubs and dependencies
- Updated the version of `@actions/github` from `6.0.0` to `6.0.1` in package.json and package-lock.json. - Updated the version of `@octokit/core` from `6.1.5` to `7.0.3` in package.json and package-lock.json. - Updated various dependencies in package-lock.json to their latest versions. - Updated the last reviewed commit references and dates in all relevant stub files to reflect the latest changes in the GitHub Actions Toolkit.
1 parent 08357c8 commit a618217

28 files changed

+129
-129
lines changed

CONTRIBUTING.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,37 @@ npm run test
104104
> [!NOTE]
105105
>
106106
> This requires that you have already run `npm install`
107+
108+
### Toolkit Stub Updates
109+
110+
When updating any of the supported stubs for the GitHub Actions Toolkit, please
111+
make sure to also update the following. This helps ensure that we are using the
112+
latest supported versions of the toolkit packages, and makes comparing changes
113+
across commits easier.
114+
115+
1. The supported version in the [`README.md`](./README.md)
116+
117+
```markdown
118+
| Package | Version |
119+
| ---------------------------------------------------------------------- | -------- |
120+
| [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact) | `2.3.2` |
121+
| [`@actions/core`](https://www.npmjs.com/package/@actions/core) | `1.11.1` |
122+
| [`@actions/github`](https://www.npmjs.com/package/@actions/github) | `6.0.1` |
123+
```
124+
125+
1. The latest reviewed commit URL in the corresponding `src/stubs/*.ts` file
126+
127+
```typescript
128+
/**
129+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/artifact.ts
130+
* Last Reviewed Date: 2025-09-10
131+
*/
132+
```
133+
134+
When comparing commits to see what has been updated in the toolkit packages, be
135+
sure to compare against the last reviewed commit in the corresponding stub file.
136+
This can be done more easily using the following URL format:
137+
138+
```plain
139+
https://github.com/actions/toolkit/compare/<old commit>..main
140+
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ currently implemented by this tool.
2121
| ---------------------------------------------------------------------- | -------- |
2222
| [`@actions/artifact`](https://www.npmjs.com/package/@actions/artifact) | `2.3.2` |
2323
| [`@actions/core`](https://www.npmjs.com/package/@actions/core) | `1.11.1` |
24-
| [`@actions/github`](https://www.npmjs.com/package/@actions/github) | `6.0.0` |
24+
| [`@actions/github`](https://www.npmjs.com/package/@actions/github) | `6.0.1` |
2525

2626
## Changelog
2727

package-lock.json

Lines changed: 44 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"@actions/artifact": "^2.3.2",
4646
"@actions/core": "^1.11.1",
4747
"@actions/exec": "^1.1.1",
48-
"@actions/github": "^6.0.0",
48+
"@actions/github": "^6.0.1",
4949
"@actions/http-client": "^2.2.3",
5050
"@eslint/compat": "^1.2.8",
51-
"@octokit/core": "^6.1.5",
51+
"@octokit/core": "^7.0.3",
5252
"@octokit/plugin-paginate-rest": "^13.0.1",
5353
"@octokit/plugin-request-log": "^6.0.0",
5454
"@octokit/plugin-rest-endpoint-methods": "^16.0.0",

src/stubs/artifact/artifact.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/artifact.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/artifact.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import {

src/stubs/artifact/internal/client.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/internal/client.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/internal/client.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import { warning } from '../../core/core.js'

src/stubs/artifact/internal/delete/delete-artifact.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/internal/delete/delete-artifact.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/internal/delete/delete-artifact.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import type { OctokitOptions } from '@octokit/core'

src/stubs/artifact/internal/download/download-artifact.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/internal/download/download-artifact.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/internal/download/download-artifact.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import * as httpClient from '@actions/http-client'

src/stubs/artifact/internal/find/get-artifact.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/internal/find/get-artifact.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/internal/find/get-artifact.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import type { OctokitOptions } from '@octokit/core'

src/stubs/artifact/internal/find/list-artifacts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/930c89072712a3aac52d74b23338f00bb0cfcb24/packages/artifact/src/internal/find/list-artifacts.ts
2+
* Last Reviewed Commit: https://github.com/actions/toolkit/blob/f58042f9cc16bcaa87afaa86c2974a8c771ce1ea/packages/artifact/src/internal/find/get-artifact.ts
3+
* Last Reviewed Date: 2025-09-10
34
*/
45

56
import type { OctokitOptions } from '@octokit/core'

0 commit comments

Comments
 (0)