Skip to content

Commit c6fc059

Browse files
authored
Merge pull request actions#514 from actions/joshmgross/update-package-name
Clear up package name confusion
2 parents 2bcb242 + 2f5a0ce commit c6fc059

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
result-encoding: string
4040
- run: |
4141
echo "- Validating relative require output"
42-
if [[ "${{steps.relative-require.outputs.result}}" != "github-script" ]]; then
42+
if [[ "${{steps.relative-require.outputs.result}}" != "@actions/github-script" ]]; then
4343
echo $'::error::\u274C' "Expected '$expected', got ${{steps.relative-require.outputs.result}}"
4444
exit 1
4545
fi

README.md

+3-3
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
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)