-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure auto-approve, mergify and renovate bots (#171)
- Loading branch information
1 parent
6bd805d
commit 187dcfb
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Auto approve | ||
|
||
on: | ||
pull_request_target | ||
|
||
jobs: | ||
auto-approve: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: hmarr/[email protected] | ||
if: github.actor == 'scala-steward' || github.actor == 'renovate[bot]' | ||
with: | ||
github-token: "${{ secrets.AUTO_APPROVE_GITHUB_ACCESS_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
pull_request_rules: | ||
- name: Merge Scala Steward's PRs | ||
conditions: | ||
- "author=scala-steward" | ||
- "status-success=ci" | ||
actions: | ||
merge: | ||
method: squash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
"automerge": true, | ||
"rebaseWhen": "conflicted", | ||
"packageRules": [ | ||
{ | ||
"matchManagers": [ | ||
"sbt" | ||
], | ||
"enabled": false | ||
} | ||
] | ||
} |