Skip to content

Commit a8704b6

Browse files
committed
Add note about checkout to separate file docs
1 parent e16145c commit a8704b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ jobs:
189189
echo-input:
190190
runs-on: ubuntu-latest
191191
steps:
192+
- uses: @actions/checkout@v2
192193
- uses: @actions/github-script@0.9.0
193194
with:
194195
script: |
@@ -211,3 +212,7 @@ the inline script.
211212
Note that because you can't `require` things like the GitHub context or
212213
Actions Toolkit libraries, you'll want to pass them as arguments to your
213214
external function.
215+
216+
Additionally, you'll want to use the [checkout
217+
action](https://github.com/actions/checkout) to make sure your script file is
218+
available.

0 commit comments

Comments
 (0)