Skip to content

Commit fdc9fe0

Browse files
committed
🔧 DOP-5399 updates the github workflow with the secret personal token
1 parent 6d2586e commit fdc9fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/osiris-subpar-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: git clone --branch DOP-5399 https://github.com/mongodb/docs-java.git cloned-docs-java-repo
2828

2929
- name: Clone Osiris
30-
run: git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/10gen/osiris.git cloned-osiris-repo
30+
run: git clone https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/10gen/osiris.git cloned-osiris-repo
3131

3232
- name: Run Coverage Check
3333
id: run_coverage
@@ -40,7 +40,7 @@ jobs:
4040
# Extract the last reported overall coverage percentage
4141
COVERAGE_PERCENT=$(echo "$COVERAGE_OUTPUT" | grep -oE 'Average Coverage: [0-9]+(\.[0-9]+)?%' | tail -1 | grep -oE '[0-9]+(\.[0-9]+)?')
4242
43-
REQUIRED_COVERAGE=90.0
43+
REQUIRED_COVERAGE=100.0
4444
4545
# Extract site names where Average Coverage is below the required coverage%
4646
LOW_COVERAGE_SITES=$(echo "$COVERAGE_OUTPUT" | awk -v threshold=$REQUIRED_COVERAGE '

0 commit comments

Comments
 (0)