Skip to content

Commit b53d48f

Browse files
committed
Update actions
1 parent 1908b5b commit b53d48f

4 files changed

Lines changed: 19 additions & 24 deletions

File tree

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
template: |
2-
## Whats Changed
2+
## What's Changed
33
44
$CHANGES

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
tags: [v*]
88
jobs:
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
@@ -23,7 +23,7 @@ jobs:
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
@@ -45,7 +45,7 @@ jobs:
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
@@ -62,7 +62,7 @@ jobs:
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

.github/workflows/scala-steward.yml

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,14 @@ on:
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+
913
jobs:
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'

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
target
22
*~
33
.idea
4+
.bsp
5+
.metals
6+
.vscode
7+
.cursor

0 commit comments

Comments
 (0)