From 6af8fc6545ef881894a7b226f31dab143fb972d3 Mon Sep 17 00:00:00 2001 From: Jules Ivanic Date: Sun, 17 Sep 2023 15:21:22 +0400 Subject: [PATCH] Use ZIO Scala Steward Github app with the scala-steward CI (#2853) --- .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 }}