From fbb79f8a240fd5370a4b7458cc0536f4832fb6a3 Mon Sep 17 00:00:00 2001 From: jules Ivanic Date: Sun, 17 Sep 2023 15:20:54 +0400 Subject: [PATCH] Use ZIO Scala Steward Github app with the scala-steward CI --- .github/workflows/scala-steward.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/scala-steward.yml b/.github/workflows/scala-steward.yml index 9de4a53fa0..ecfc7524f5 100644 --- a/.github/workflows/scala-steward.yml +++ b/.github/workflows/scala-steward.yml @@ -12,16 +12,9 @@ jobs: runs-on: ubuntu-latest name: Scala Steward steps: - # See - # - https://github.com/zio/generate-github-app-token - # - https://github.com/zio/zio-sbt/blob/main/.github/workflows/ci.yml#L123 - - name: Generate Token - id: generate-token - uses: zio/generate-github-app-token@v1.0.0 - with: - app_id: ${{ secrets.APP_ID }} - app_private_key: ${{ secrets.APP_PRIVATE_KEY }} - name: Scala Steward uses: scala-steward-org/scala-steward-action@v2.61.0 with: - github-token: ${{ steps.generate-token.outputs.token }} + github-app-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_ID }} + github-app-installation-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_INSTALLATION_ID }} + github-app-key: ${{ secrets.SCALA_STEWARD_GITHUB_APP_PRIVATE_KEY }}