Repository navigation
45 lines (40 loc) · 1.49 KB
/
Copy pathdocs.yml
File metadata and controls
45 lines (40 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
name: Test and Build Docs
permissions:
contents: read
on:
pull_request:
push:
branches:
- main
merge_group:
types: [checks_requested]
jobs:
run-tests:
uses: ./.github/workflows/coverage_report.yml
permissions:
contents: read
pull-requests: read
build-docs:
needs: [run-tests]
if: ${{ needs.run-tests.result == 'success' }}
uses: eclipse-score/cicd-workflows/.github/workflows/docs.yml@f77ed751fa587e3a1142b2d85320917e00c888ae # main (2026-10)
permissions:
contents: read
with:
# Appended to `bazel run`; setup-bazel-cache applies the caches to every bazel call in the job.
bazel-target: >-
--lockfile_mode=error //:docs -- --github_user=${{ github.repository_owner }} --github_repo=${{ github.event.repository.name }} && bazel run --lockfile_mode=error //:publish_dependable_element_reports
retention-days: 3
tests-report-artifact: logging_cpp_coverage