forked from moby/buildkit
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 1.24 KB
/
docs-upstream.yml
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
# this workflow runs the remote validate bake target from docker/docker.github.io
# to check if yaml reference docs and markdown files used in this repo are still
# valid: https://github.com/docker/docs/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
# path filters reflects the files that are used as remote resource in this
# repo: https://github.com/docker/docs/blob/d5312d53e255a24e421dfe6c3344359e10271cb8/_config.yml#L202-L217
name: docs-upstream
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'master'
- 'v[0-9]*'
paths:
- '.github/workflows/docs-upstream.yml'
- 'docs/buildkitd.toml.md'
- 'docs/attestations/slsa-definitions.md'
- 'docs/attestations/attestation-storage.md'
- 'frontend/dockerfile/docs/reference.md'
pull_request:
paths:
- '.github/workflows/docs-upstream.yml'
- 'docs/buildkitd.toml.md'
- 'docs/attestations/slsa-definitions.md'
- 'docs/attestations/attestation-storage.md'
- 'frontend/dockerfile/docs/reference.md'
jobs:
validate:
uses: docker/docs/.github/workflows/validate-upstream.yml@main
with:
repo: https://github.com/${{ github.repository }}