File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Build FFmpeg on pull request
2
2
on :
3
- pull_request :
3
+ pull_request_target :
4
4
branches :
5
5
- main
6
6
paths-ignore :
7
7
- README.md
8
-
8
+ - .github/dependabot.yml
9
+ types : [labeled]
10
+
9
11
jobs :
10
12
build :
11
13
runs-on : ubuntu-20.04
14
+ if : contains(github.event.pull_request.labels.*.name, 'dependencies')
12
15
strategy :
13
16
matrix :
14
17
os : [win64, win32]
18
21
uses : actions/checkout@v2
19
22
with :
20
23
submodules : true
24
+ ref : ${{ github.event.pull_request.head.ref }}
25
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
26
+ persist-credentials : false
21
27
22
28
- name : Install dependencies
23
29
run : ./dependencies.sh
Original file line number Diff line number Diff line change 5
5
- main
6
6
paths-ignore :
7
7
- README.md
8
+ - .github/dependabot.yml
9
+ - .github/workflows/build-on-pull-request.yml
8
10
9
11
jobs :
10
12
build :
18
20
uses : actions/checkout@v2
19
21
with :
20
22
submodules : true
23
+ persist-credentials : false
21
24
22
25
- name : Install dependencies
23
26
run : ./dependencies.sh
You can’t perform that action at this time.
0 commit comments