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 5d31eec

Browse filesBrowse files
authored
Merge pull request actions#190 from patrick91/patch-1
Make it clear that require is a custom wrapper
2 parents f891eff + 282dd6a commit 5d31eec
Copy full SHA for 5d31eec

File tree

1 file changed

+4
-1
lines changed
Filter options

1 file changed

+4
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,10 @@ module.exports = async ({github, context, core}) => {
304304

305305
### Use npm packages
306306

307-
Like importing your own files above, you can also use installed modules:
307+
Like importing your own files above, you can also use installed modules.
308+
Note that this is achieved with a wrapper on top `require`, so if you're
309+
trying to require a module inside your own file, you might need to import
310+
it externally or pass the `require` wrapper to your file:
308311

309312
```yaml
310313
on: push

0 commit comments

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