Skip to content

Commit

Permalink
Use ZIO Scala Steward Github app with the scala-steward CI (#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Sep 17, 2023
1 parent 17d896c commit 6af8fc6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 6af8fc6

Please sign in to comment.