-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (39 loc) · 1.19 KB
/
ci-docs-shim.yaml
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
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
name: CI Doc Shim
on:
pull_request:
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow).
types: [milestoned, opened, reopened, synchronize]
paths:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- adr/**
- docs/**
- .gitignore
- renovate.json
- .release-please-manifest.json
- release-please-config.json
- oscal-component.yaml
- CODEOWNERS
- LICENSE
- CONTRIBUTING.md
- SECURITY.md
- config/renovate.json5
# Permissions for the GITHUB_TOKEN used by the workflow.
permissions:
contents: read # Allows reading the content of the repository.
jobs:
validate:
strategy:
matrix:
type: [install, upgrade]
flavor: [upstream, registry1, unicorn]
uses: ./.github/workflows/callable-ci-docs-shim.yaml
with:
flavor: ${{ matrix.flavor }}
type: ${{ matrix.type }}
secrets: inherit # Inherits all secrets from the parent workflow.