Skip to content

Commit fb6836d

Browse files
committed
fix(ci): clone maps as a sibling - checkout cannot write outside the workspace
1 parent a388e3a commit fb6836d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/rake.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@v7
5353
# The Gemfile's path dependency needs ../maps to exist for bundler
54-
# to resolve; linting itself never loads it.
55-
- uses: actions/checkout@v7
56-
with:
57-
repository: interscript/maps
58-
path: ../maps
54+
# to resolve; linting itself never loads it. actions/checkout
55+
# cannot write outside the workspace, hence the plain clone.
56+
- run: git clone --depth 1 https://github.com/interscript/maps ../maps
5957
- uses: ruby/setup-ruby@v1
6058
with:
6159
ruby-version: "3.4"

0 commit comments

Comments
 (0)