File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: PerformanceCheck
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ BRANCH :
7
+ description : Branch to checkout
8
+ required : false
9
+ default : ' main'
10
+ type : string
5
11
# Don't run on every merge to main, because many merges
6
12
# may not even be vm related, but infra, or GH Actions
7
13
pull_request :
28
34
- uses : actions/checkout@v4
29
35
with :
30
36
fetch-depth : 0
37
+ ref : ${{ inputs.BRANCH }}
31
38
32
39
- uses : marceloprado/has-changed-path@v1.0.1
33
40
id : did-change
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: Size
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ inputs :
6
+ BRANCH :
7
+ description : Branch to checkout
8
+ required : false
9
+ default : ' main'
10
+ type : string
5
11
push :
6
12
branches :
7
13
- main
23
29
pnpm-args : ' --ignore-scripts'
24
30
node-version : 20.1.0
25
31
repo-token : ${{ secrets.GITHUB_TOKEN }}
32
+ ref : ${{ inputs.BRANCH }}
26
33
- run : pnpm turbo build
27
34
- run : sudo snap install dust
28
35
- name : " Get sizes for development outputs"
You can’t perform that action at this time.
0 commit comments