File tree Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Report Cover Build'
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows : ["Get Cover Build"]
6
+ types :
7
+ - completed
8
+
9
+ permissions :
10
+ actions : read
11
+ contents : read
12
+ pull-requests : write
13
+
14
+ jobs :
15
+ test : # make sure the action works on a clean machine without building
16
+ runs-on : ubuntu-latest
17
+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - uses : ./
21
+ with :
22
+ token : ${{ secrets.GITHUB_TOKEN }}
23
+ thresholdNew : 0.8
24
+ thresholdModified : 0.0
25
+ coverageFile : coverage.xml
Original file line number Diff line number Diff line change 10
10
npm install
11
11
- run : |
12
12
npm run all
13
- test : # make sure the action works on a clean machine without building
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v4
17
- - uses : ./
18
- with :
19
- token : ${{ secrets.GITHUB_TOKEN }}
20
- thresholdNew : 0.8
21
- thresholdModified : 0.0
22
- coverageFile : coverage.xml
You can’t perform that action at this time.
0 commit comments