fix #122 - support actions/checkout for repos other the one for this workflow (#143)

This commit is contained in:
Casey Lee
2020-03-09 17:45:42 -07:00
committed by GitHub
parent 143676fcfb
commit 16520bb277
4 changed files with 66 additions and 3 deletions

19
pkg/runner/testdata/issue-122/main.yaml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Checkout
on: push
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: test-subdir1
- run: grep "Checkout" test-subdir1/issue-122/main.yaml
- uses: actions/checkout@v2
with:
repository: actions/checkout
path: test-subdir2
- run: grep "Checkout" test-subdir2/action.yml