Skip to content

Commit 059bb71

Browse files
authored
Don't run review workflow for coderabbit (#483)
1 parent 1aba6d3 commit 059bb71

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/on-review-add-label.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- name: Run this on Dummy workflow success
1818
run: echo "Dummy Workflow on review completes successfully"
1919
download_context_artifact:
20+
needs:
21+
- run_on_workflow_a_success
2022
runs-on: ubuntu-latest
2123
steps:
2224
- name: 'Download artifact'

.github/workflows/workflow-review.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ permissions:
1313
jobs:
1414

1515
dummy-workflow:
16+
if: |
17+
github.event.pull_request != '' &&
18+
!contains(github.event.sender.login, 'coderabbitai[bot]')
1619
runs-on: ubuntu-latest
1720

1821
steps:

0 commit comments

Comments
 (0)