Skip to content

Commit 2d878ad

Browse files
committed
fix: stop notifying draft PRs
Signed-off-by: Varsha GS <[email protected]>
1 parent eb82e76 commit 2d878ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/opened-pr-notification-on-slack.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ permissions:
66

77
on:
88
pull_request:
9-
types: [opened, reopened]
9+
types: [opened, reopened, ready_for_review]
1010

1111
jobs:
1212
notify-slack:
1313
runs-on: ubuntu-latest
14-
14+
15+
if: ${{ !github.event.pull_request.draft }}
1516
steps:
1617
- name: Checkout code
1718
uses: actions/checkout@v4

0 commit comments

Comments
 (0)