Skip to content

Commit 69024c1

Browse files
authored
Add Scala Steward and Dependabot to help maintaining the repo (#842)
(Copied from zio-json)
1 parent 7b39ec4 commit 69024c1

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Scala Steward
2+
3+
# This workflow will launch every day at 00:00
4+
on:
5+
schedule:
6+
- cron: '0 0 * * *'
7+
workflow_dispatch: {}
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
jobs:
14+
scala-steward:
15+
timeout-minutes: 45
16+
runs-on: ubuntu-latest
17+
name: Scala Steward
18+
steps:
19+
- name: Setup sbt
20+
uses: sbt/setup-sbt@v1
21+
- name: Scala Steward
22+
uses: scala-steward-org/scala-steward-action@v2
23+
with:
24+
github-app-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_ID }}
25+
github-app-installation-id: ${{ secrets.SCALA_STEWARD_GITHUB_APP_INSTALLATION_ID }}
26+
github-app-key: ${{ secrets.SCALA_STEWARD_GITHUB_APP_PRIVATE_KEY }}
27+
github-app-auth-only: true

0 commit comments

Comments
 (0)