File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 32
32
- name : Clone self (github/codeql) - BASE
33
33
uses : actions/checkout@v2
34
34
with :
35
- ref : ${{ github.event.pull_request.base.sha }}
35
+ fetch-depth : 2
36
36
path : base
37
+ - run : |
38
+ git checkout HEAD^1
39
+ git log -1 --format='%H'
40
+ working-directory: base
37
41
- name : Set up Python 3.8
38
42
uses : actions/setup-python@v2
39
43
with :
@@ -47,13 +51,13 @@ jobs:
47
51
run : unzip -d codeql-cli codeql-linux64.zip
48
52
- name : Generate CSV files on merge and base of the PR
49
53
run : |
50
- echo "Running generator on ${{github.sha}} "
54
+ echo "Running generator on merge "
51
55
PATH="$PATH:codeql-cli/codeql" python merge/misc/scripts/library-coverage/generate-report.py ci merge merge
52
56
mkdir out_merge
53
57
cp framework-coverage-*.csv out_merge/
54
58
cp framework-coverage-*.rst out_merge/
55
59
56
- echo "Running generator on ${{github.event.pull_request. base.sha}} "
60
+ echo "Running generator on base"
57
61
PATH="$PATH:codeql-cli/codeql" python base/misc/scripts/library-coverage/generate-report.py ci base base
58
62
mkdir out_base
59
63
cp framework-coverage-*.csv out_base/
You can’t perform that action at this time.
0 commit comments