Skip to content

Commit

Permalink
Use organization secrets for scala steward (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
hearnadam authored Feb 27, 2025
1 parent ab60022 commit ebb0fad
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
name: Scala Steward

# This workflow will launch everyday at 00:00
# This workflow will launch every day at 00:00
on:
schedule:
- 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.75.0
with:
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 }}
github-app-auth-only: true

0 comments on commit ebb0fad

Please sign in to comment.