Skip to content

Commit e049dc8

Browse files
committed
Update actions
1 parent 964ff96 commit e049dc8

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches: ['**']
77
tags: [v*]
8+
permissions:
9+
contents: write # release-drafter, auto-merge requirement
10+
pull-requests: write # labeler, auto-merge requirement
811
jobs:
912
ci:
1013
# run on external PRs, but not on internal PRs since those will be run by push to branch

.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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ out
1212
project/**/metals.sbt
1313
.vscode/
1414
.bsp
15-
.scala-build
15+
.scala-build
16+
.cursor
17+
.sbt

0 commit comments

Comments
 (0)