File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ jobs:
23
23
- name : Install Wget
24
24
run : sudo apt-get update && sudo apt-get install -y wget
25
25
26
+ - name : Debug Secrets
27
+ run : echo "Token Length: ${#secrets.PERSONAL_ACCESS_TOKEN}"
28
+
26
29
- name : Clone Docs Java
27
30
run : git clone --branch DOP-5399 https://github.com/mongodb/docs-java.git cloned-docs-java-repo
28
31
29
32
- name : Clone Osiris
30
- run : git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/10gen/osiris.git cloned-osiris-repo
33
+ run : git clone https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/10gen/osiris.git cloned-osiris-repo
31
34
32
35
- name : Run Coverage Check
33
36
id : run_coverage
40
43
# Extract the last reported overall coverage percentage
41
44
COVERAGE_PERCENT=$(echo "$COVERAGE_OUTPUT" | grep -oE 'Average Coverage: [0-9]+(\.[0-9]+)?%' | tail -1 | grep -oE '[0-9]+(\.[0-9]+)?')
42
45
43
- REQUIRED_COVERAGE=90 .0
46
+ REQUIRED_COVERAGE=100 .0
44
47
45
48
# Extract site names where Average Coverage is below the required coverage%
46
49
LOW_COVERAGE_SITES=$(echo "$COVERAGE_OUTPUT" | awk -v threshold=$REQUIRED_COVERAGE '
You can’t perform that action at this time.
0 commit comments