5
5
- ' **/*.ast' # Only trigger if .ast files are changed
6
6
branches :
7
7
- main
8
- - DOP-5399-CB
9
8
10
9
jobs :
11
10
check-coverage :
@@ -17,10 +16,10 @@ jobs:
17
16
steps :
18
17
- name : Checkout Repos
19
18
uses : actions/checkout@v4
20
- with :
21
- token : ${{ secrets.API_TOKEN_GITHUB }}
22
- fetch-depth : 0
23
- ref : DOP-5399-CB
19
+ # uncomment when running or testing locally using [act](https://github.com/nektos/act?tab=readme-ov-file)
20
+ # with:
21
+ # token: ${{ secrets.API_TOKEN_GITHUB }}
22
+ # ref: DOP-5399-placeholder
24
23
25
24
- name : Verify Branch Checkout
26
25
run : |
@@ -34,10 +33,10 @@ jobs:
34
33
35
34
- name : Run Coverage Check
36
35
id : run_coverage
37
- uses : mongodb/docs-worker-actions/coverage-check@DOP-5399
36
+ uses : mongodb/docs-worker-actions/coverage-check@main
38
37
with :
39
38
repo-path : cloned-osiris-repo
40
- required-coverage : ' 100 '
39
+ required-coverage : ' 90 '
41
40
42
41
- name : Set Workflow Outputs
43
42
id : set_coverage
60
59
PR_NUMBER : ${{ github.event.pull_request.number }}
61
60
PR_URL : ${{ github.event.pull_request.html_url }}
62
61
PR_SHA : ${{ github.event.pull_request.head.sha }}
63
- uses : mongodb/docs-worker-actions/coverage-report-to-slack@DOP-5399
62
+ uses : mongodb/docs-worker-actions/coverage-report-to-slack@main
64
63
with :
65
- required-coverage : ' 100 '
64
+ required-coverage : ' 90 '
66
65
site-coverage-list : $SITE_COVERAGE_LIST
67
66
slack-webhook-url : $SLACK_WEBHOOK_URL
68
67
repository : $REPOSITORY
0 commit comments