Make it clear that require is a custom wrapper

Happy to change the wording 😊
This commit is contained in:
Patrick Arminio
2021-09-14 12:39:05 +01:00
committed by GitHub
parent f891eff651
commit 282dd6ab09

View File

@@ -304,7 +304,10 @@ module.exports = async ({github, context, core}) => {
### Use npm packages
Like importing your own files above, you can also use installed modules:
Like importing your own files above, you can also use installed modules.
Note that this is achieved with a wrapper on top `require`, so if you're
trying to require a module inside your own file, you might need to import
it externally or pass the `require` wrapper to your file:
```yaml
on: push