File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : " Pull Request"
2
- on : pull_request
2
+ on : [ workflow_dispatch, pull_request ]
3
+
4
+ concurrency :
5
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
6
+ cancel-in-progress : true
7
+
8
+ permissions :
9
+ contents : read
10
+ pull-requests : read
11
+ checks : write
12
+ id-token : write
13
+
3
14
jobs :
4
15
pr-check :
5
16
name : " Pull Request Check"
6
17
uses : mParticle/mparticle-workflows/.github/workflows/android-kit-pull-request.yml@main
7
18
with :
8
- branch_name : ${{ github.head_ref }}
19
+ branch_name : ${{ github.head_ref }}
20
+
21
+ pr-notify :
22
+ if : >
23
+ github.event_name == 'pull_request' &&
24
+ github.event.pull_request.draft == false
25
+ needs :
26
+ - pr-check
27
+ name : Notify GChat
28
+ uses : ROKT/rokt-workflows/.github/workflows/oss_pr_opened_notification.yml@main
29
+ secrets :
30
+ gchat_webhook : ${{ secrets.GCHAT_PRS_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments