Skip to content

Commit 38c28b9

Browse files
committed
Fix copilot assignment workflow
1 parent 80b13f4 commit 38c28b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/assign-copilot-reviewer.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Assign Copilot as reviewer
33
on:
44
pull_request_target:
55
types:
6+
- opened
67
- ready_for_review
78

89
permissions:
@@ -11,6 +12,7 @@ permissions:
1112
jobs:
1213
assign-copilot:
1314
runs-on: ubuntu-latest
15+
if: ${{ !github.event.pull_request.draft }}
1416
steps:
1517
- name: Assign Copilot as reviewer
1618
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7

0 commit comments

Comments
 (0)