Skip to content

Commit

Permalink
Try run scala-steward with token generated from zio/generate-github-a…
Browse files Browse the repository at this point in the history
…pp-token (#2851)

(on the advice of @khajavi)
  • Loading branch information
guizmaii authored Sep 17, 2023
1 parent 020a329 commit 668a2e7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@ 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: ${{ secrets.PAT_TOKEN }}
github-token: ${{ steps.generate-token.outputs.token }}

0 comments on commit 668a2e7

Please sign in to comment.