From a8704b62a3270fdd071e4aa8ce21bfde2428ba36 Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Mon, 18 May 2020 12:59:15 -0400 Subject: [PATCH] Add note about checkout to separate file docs --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 32d10ccd..b0215cb3 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ jobs: echo-input: runs-on: ubuntu-latest steps: + - uses: @actions/checkout@v2 - uses: @actions/github-script@0.9.0 with: script: | @@ -211,3 +212,7 @@ the inline script. Note that because you can't `require` things like the GitHub context or Actions Toolkit libraries, you'll want to pass them as arguments to your external function. + +Additionally, you'll want to use the [checkout +action](https://github.com/actions/checkout) to make sure your script file is +available.