Skip to content

Commit

Permalink
Fix scala-steward flow (#1418)
Browse files Browse the repository at this point in the history
Scala-steward needs sbt installed, also the new example template gives
it additional permissions.
  • Loading branch information
erikvanoosten authored Dec 15, 2024
1 parent b0421a4 commit 8130d90
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@ on:
- cron: '0 0 * * *'
workflow_dispatch: {}

permissions:
contents: write
pull-requests: write

jobs:
scala-steward:
timeout-minutes: 45
runs-on: ubuntu-latest
name: Scala Steward
steps:
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Scala Steward
uses: scala-steward-org/scala-steward-action@v2.71.0
uses: scala-steward-org/scala-steward-action@v2
with:
github-app-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_ID }}
github-app-installation-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_INSTALLATION_ID }}
Expand Down

0 comments on commit 8130d90

Please sign in to comment.