Skip to content

Commit cd38955

Browse files
authored
Merge pull request #99 from target/junk-repo
Initialize git repo for Scala Steward root context
2 parents 86684e7 + 47419f1 commit cd38955

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/scala-steward.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
# to get a token for publishing even when not executing the publish task. Most of the time, SHELL is set
1919
# but apparently not inside GitHub Actions runners. Setting _something invalid_ satisfies the
2020
# GitHub Packages plugin safely and allows the operation to proceed.
21-
run: git config github.token unused
21+
# We also have to initialize the git repo because we're not in a repo context when this runs.
22+
run: git init . && git config github.token unused
2223
- name: Install JDK for Scala Steward use
2324
uses: actions/setup-java@v3
2425
with:

0 commit comments

Comments
 (0)