File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 88
99name : Launch Scala Steward
1010
11+ env :
12+ # This is required because SBT is configured to look at env:GITHUB_TOKEN or git:github.token or env:SHELL
13+ # to get a token for publishing even when not executing the publish task. Most of the time, SHELL is set
14+ # but apparently not inside GitHub Actions runners. Setting _something invalid_ satisfies the
15+ # GitHub Packages plugin safely and allows the operation to proceed.
16+ SHELL : " /bin/bash"
17+
1118jobs :
1219 scala-steward :
1320 runs-on : ubuntu-latest
1421 name : Launch Scala Steward
1522 steps :
16- - name : Configure unused GitHub Token via git
17- # This is required because SBT is configured to look at env:GITHUB_TOKEN or git:github.token or env:SHELL
18- # to get a token for publishing even when not executing the publish task. Most of the time, SHELL is set
19- # but apparently not inside GitHub Actions runners. Setting _something invalid_ satisfies the
20- # GitHub Packages plugin safely and allows the operation to proceed.
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
2323 - name : Install JDK for Scala Steward use
2424 uses : actions/setup-java@v3
2525 with :
You can’t perform that action at this time.
0 commit comments