File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,20 @@ jobs:
1313 runs-on : ubuntu-latest
1414 name : Launch Scala Steward
1515 steps :
16- - uses : actions/setup-java@v3
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+ run : git config github.token unused
22+ - name : Install JDK for Scala Steward use
23+ uses : actions/setup-java@v3
1724 with :
1825 distribution : ' temurin'
1926 java-version : ' 8'
2027 - name : Launch Scala Steward
2128 uses : scala-steward-org/scala-steward-action@v2
2229 with :
2330 github-token : ${{ secrets.REPO_GITHUB_TOKEN }}
24- author-email : 12345+octocat @users.noreply.github.com
25- author-name : " Scala Steward on GitHub Actions "
31+ author-email : " 41898282+github-actions[bot] @users.noreply.github.com"
32+ author-name : " github-actions[bot] "
You can’t perform that action at this time.
0 commit comments