Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7875aed

Browse filesBrowse files
committed
Clear up package name confusion
1 parent 2bcb242 commit 7875aed
Copy full SHA for 7875aed

File tree

3 files changed

+6
-6
lines changed
Filter options

3 files changed

+6
-6
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,15 +429,15 @@ jobs:
429429
### Use scripts with jsDoc support
430430

431431
If you want type support for your scripts, you could use the command below to install the
432-
`github-script` type declaration.
432+
`@actions/github-script` type declaration.
433433
```sh
434-
$ npm i -D @types/github-script@github:actions/github-script
434+
$ npm i -D @actions/github-script@github:actions/github-script
435435
```
436436

437437
And then add the `jsDoc` declaration to your script like this:
438438
```js
439439
// @ts-check
440-
/** @param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
440+
/** @param {import('@actions/github-script').AsyncFunctionArguments} AsyncFunctionArguments */
441441
export default async ({ core, context }) => {
442442
core.debug("Running something at the moment");
443443
return context.actor;

‎package-lock.json

Copy file name to clipboardExpand all lines: package-lock.json
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "github-script",
2+
"name": "@actions/github-script",
33
"description": "A GitHub action for executing a simple script",
44
"version": "7.0.1",
55
"author": "GitHub",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.