You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This action makes it easy to quickly write a script in your workflow that
4
8
uses the GitHub API and the workflow run context.
@@ -202,7 +206,7 @@ jobs:
202
206
console.log(script({github, context}))
203
207
```
204
208
205
-
*Note that the script path given to `require()` must be an **absolute path** in this case, hence using [`GITHUB_WORKSPACE`](https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables).*
209
+
_Note that the script path given to `require()` must be an **absolute path** in this case, hence using [`GITHUB_WORKSPACE`](https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables)._
206
210
207
211
And then export a function from your module:
208
212
@@ -223,7 +227,6 @@ Additionally, you'll want to use the [checkout
223
227
action](https://github.com/actions/checkout) to make sure your script file is
224
228
available.
225
229
226
-
227
230
This action makes it easy to quickly write a script in your workflow that
228
231
uses the GitHub API and the workflow run context.
229
232
@@ -426,7 +429,7 @@ jobs:
426
429
console.log(script({github, context}))
427
430
```
428
431
429
-
*Note that the script path given to `require()` must be an **absolute path** in this case, hence using [`GITHUB_WORKSPACE`](https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables).*
432
+
_Note that the script path given to `require()` must be an **absolute path** in this case, hence using [`GITHUB_WORKSPACE`](https://docs.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables)._
0 commit comments