File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11template : |
2- ## What’ s Changed
2+ ## What' s Changed
33
44 $CHANGES
Original file line number Diff line number Diff line change 77 tags : [v*]
88jobs :
99 ci :
10- # run on 1) push, 2) external PRs, 3) softwaremill-ci PRs
10+ # run on 1) push, 2) external PRs, 3) github-actions[bot] PRs
1111 # do not run on internal, non-steward PRs since those will be run by push to branch
1212 if : |
1313 github.event_name == 'push' ||
1414 github.event.pull_request.head.repo.full_name != github.repository ||
15- github.event.pull_request.user.login == 'softwaremill-ci '
15+ github.event.pull_request.user.login == 'github-actions[bot] '
1616 runs-on : ubuntu-24.04
1717 steps :
1818 - name : Checkout
2323 distribution : ' temurin'
2424 cache : ' sbt'
2525 java-version : 21
26- - uses : sbt/setup-sbt@v1
26+ - uses : sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1, specifically v1.1.14
2727 - name : Compile
2828 run : sbt -v compile
2929 - name : Test
4545 distribution : ' temurin'
4646 cache : ' sbt'
4747 java-version : 21
48- - uses : sbt/setup-sbt@v1
48+ - uses : sbt/setup-sbt@3e125ece5c3e5248e18da9ed8d2cce3d335ec8dd # v1, specifically v1.1.14
4949 - name : Compile
5050 run : sbt compile
5151 - name : Publish artifacts
6262 env :
6363 COMMIT_MSG : ${{ github.event.head_commit.message }}
6464 - name : Publish release notes
65- uses : release-drafter/release-drafter@v5
65+ uses : release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6, specifically v6.1.0
6666 with :
6767 config-name : release-drafter.yml
6868 publish : true
Original file line number Diff line number Diff line change 66 - cron : ' 0 0 * * *'
77 workflow_dispatch :
88
9+ permissions :
10+ contents : write # Required to checkout and push changes
11+ pull-requests : write # Required to create PRs for dependency updates
12+
913jobs :
1014 scala-steward :
11- runs-on : ubuntu-22.04
12- steps :
13- - name : Checkout
14- uses : actions/checkout@v3
15- - name : Set up JDK 11
16- uses : actions/setup-java@v3
17- with :
18- distribution : ' temurin'
19- java-version : 11
20- cache : ' sbt'
21- - name : Launch Scala Steward
22- uses : scala-steward-org/scala-steward-action@v2
23- with :
24- author-name : scala-steward
25- author-email : scala-steward
26- github-token : ${{ secrets.REPO_GITHUB_TOKEN }}
27- repo-config : .scala-steward.conf
28- ignore-opts-files : false
15+ uses : softwaremill/github-actions-workflows/.github/workflows/scala-steward.yml@main
16+ secrets :
17+ github-token : ${{ secrets.GITHUB_TOKEN }}
18+ with :
19+ java-version : ' 21'
Original file line number Diff line number Diff line change 11target
22* ~
33.idea
4+ .bsp
5+ .metals
6+ .vscode
7+ .cursor
You can’t perform that action at this time.
0 commit comments