mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-02-15 01:02:48 +00:00
fix(workflow): allow code rabbit to approve PRs (#9195)
This commit is contained in:
parent
66d17db54b
commit
7162f3bd4e
@ -12,12 +12,11 @@ reviews:
|
||||
- master
|
||||
- main
|
||||
|
||||
# Auto-Approve wenn keine Probleme gefunden
|
||||
auto_approve:
|
||||
enabled: true
|
||||
|
||||
# Review-Einstellungen
|
||||
request_changes_workflow: false
|
||||
request_changes_workflow: true
|
||||
high_level_summary: true
|
||||
poem: false
|
||||
review_status: true
|
||||
|
||||
17
.github/workflows/auto-approve.yml
vendored
Normal file
17
.github/workflows/auto-approve.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Auto Approve after CodeRabbit
|
||||
|
||||
on:
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
auto-approve:
|
||||
if: >
|
||||
github.event.review.state == 'approved' &&
|
||||
github.event.review.user.login == 'coderabbitai[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
|
||||
Loading…
x
Reference in New Issue
Block a user