File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 issues :
55 types : [opened, reopened]
66 pull_request_target :
7- types : [opened, reopened]
7+ types : [opened, reopened, ready_for_review ]
88
99permissions : {}
1010
1111jobs :
1212 notify :
1313 runs-on : ubuntu-latest
1414 steps :
15- - name : Use Node.js
16- uses : actions/setup-node@v6
17- with :
18- node-version : ' 24.x'
1915 - name : Send issue notification to Slack
2016 if : github.event_name == 'issues'
2117 uses : slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
3026 }
3127
3228 - name : Send pull request notification to Slack
33- if : github.event_name == 'pull_request_target'
29+ if : github.event_name == 'pull_request_target' && github.event.pull_request.draft == false
3430 uses : slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
3531 with :
3632 webhook : ${{ secrets.SLACK_WEBHOOK_URL_PR }}
You can’t perform that action at this time.
0 commit comments