Skip to content

Commit 923be0b

Browse files
committed
ci: upstream docs conformance validation
Signed-off-by: CrazyMax <[email protected]>
1 parent 68c0dc2 commit 923be0b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/docs-upstream.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# this workflow runs the remote validate bake target from docker/docker.github.io
2+
# to check if yaml reference docs and markdown files used in this repo are still
3+
# valid: https://github.com/docker/docs/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
4+
# path filters reflects the files that are used as remote resource in this
5+
# repo: https://github.com/docker/docs/blob/d5312d53e255a24e421dfe6c3344359e10271cb8/_config.yml#L202-L217
6+
name: docs-upstream
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
on:
13+
push:
14+
branches:
15+
- 'master'
16+
- 'v[0-9]*'
17+
paths:
18+
- '.github/workflows/docs-upstream.yml'
19+
- 'docs/buildkitd.toml.md'
20+
- 'docs/attestations/slsa-definitions.md'
21+
- 'docs/attestations/attestation-storage.md'
22+
- 'frontend/dockerfile/docs/reference.md'
23+
pull_request:
24+
paths:
25+
- '.github/workflows/docs-upstream.yml'
26+
- 'docs/buildkitd.toml.md'
27+
- 'docs/attestations/slsa-definitions.md'
28+
- 'docs/attestations/attestation-storage.md'
29+
- 'frontend/dockerfile/docs/reference.md'
30+
31+
jobs:
32+
validate:
33+
uses: docker/docs/.github/workflows/validate-upstream.yml@main
34+
with:
35+
repo: https://github.com/${{ github.repository }}

0 commit comments

Comments
 (0)