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 c6fc059

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

File tree

Expand file treeCollapse file tree

4 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+7
-7
lines changed

‎.github/workflows/integration.yml

Copy file name to clipboardExpand all lines: .github/workflows/integration.yml
+1-1Lines changed: 1 addition & 1 deletion
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

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.