File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,26 @@ name: "CI"
2
2
3
3
on :
4
4
pull_request_target :
5
+ types : [opened, synchronize, reopened]
5
6
push :
6
7
branches :
7
8
- ' v3'
8
9
- ' feature/*'
9
10
- ' fix/*'
10
11
workflow_dispatch :
11
12
13
+ permissions :
14
+ actions : read
15
+ checks : write
16
+ contents : read
17
+ deployments : read
18
+ issues : read
19
+ packages : read
20
+ pull-requests : write
21
+ repository-projects : read
22
+ security-events : read
23
+ statuses : write
24
+
12
25
env :
13
26
SAUCE_USERNAME : ${{secrets.SAUCE_USERNAME}}
14
27
SAUCE_ACCESS_KEY : ${{secrets.SAUCE_ACCESS_KEY}}
31
44
with :
32
45
ref : ${{ github.event.pull_request.head.sha }}
33
46
fetch-depth : 2
47
+ persist-credentials : false
34
48
35
49
- name : Is environment ok
36
50
run : |
40
54
id : source-changed
41
55
uses :
tj-actions/[email protected]
42
56
with :
57
+ base_sha : ${{ github.event.pull_request.head.sha }}
58
+ sha : ${{ github.sha }}
43
59
files : |
44
60
src
45
61
test
You can’t perform that action at this time.
0 commit comments