mirror of
https://github.com/moby/buildkit.git
synced 2026-08-06 07:40:49 +00:00
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
# this workflow runs the remote validate bake target from docker/docs to check
|
|
# if yaml reference docs and markdown files used in this repo are still valid
|
|
# https://github.com/docker/docker.github.io/blob/98c7c9535063ae4cd2cd0a31478a21d16d2f07a3/docker-bake.hcl#L34-L36
|
|
name: docs-upstream
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
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'
|
|
- 'frontend/dockerfile/docs/rules/**'
|
|
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'
|
|
- 'frontend/dockerfile/docs/rules/**'
|
|
|
|
jobs:
|
|
validate:
|
|
uses: docker/docs/.github/workflows/validate-upstream.yml@main # zizmor: ignore[unpinned-uses] needs to validate against latest docs changes
|
|
with:
|
|
module-name: moby/buildkit
|