Skip to content

Commit

Permalink
Add mergify and auto-approve workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lowmelvin committed Jul 30, 2023
1 parent c42e4f5 commit 36f4a03
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Auto approve

on: pull_request_target

jobs:
auto-approve:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.actor == 'scala-steward'
steps:
- uses: hmarr/auto-approve-action@v3
14 changes: 14 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
queue_rules:
- name: steward
queue_conditions:
- author=scala-steward
merge_conditions:
- author=scala-steward
- check-success=ci

pull_request_rules:
- name: merge using the steward queue
conditions:
- author=scala-steward
actions:
queue:

0 comments on commit 36f4a03

Please sign in to comment.