From 8130d9085fb116ac1e043374be7710f756fcff1c Mon Sep 17 00:00:00 2001 From: Erik van Oosten Date: Sun, 15 Dec 2024 09:13:41 +0100 Subject: [PATCH] Fix scala-steward flow (#1418) Scala-steward needs sbt installed, also the new example template gives it additional permissions. --- .github/workflows/scala-steward.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index b94455d4c..822b2a9cf 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -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 }}