diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml index eb984cd..8d14396 100644 --- a/.github/actionlint.yaml +++ b/.github/actionlint.yaml @@ -32,3 +32,8 @@ paths: # Scoped to this one message in this one file: any other expression # error, in this or any other workflow, still fires. - 'property "workflow_sha" is not defined in object type' + .github/workflows/netlify-site-checks.yml: + ignore: + # Same gap as standards-check.yml above: it checks out netlify/ at + # job.workflow_sha. Remove with the entry above. + - 'property "workflow_sha" is not defined in object type' diff --git a/.github/workflows/netlify-site-checks.yml b/.github/workflows/netlify-site-checks.yml new file mode 100644 index 0000000..bd54697 --- /dev/null +++ b/.github/workflows/netlify-site-checks.yml @@ -0,0 +1,127 @@ +name: Netlify Site Checks + +# Acceptance checks on the deploy Netlify published: preview on pull_request, +# production on push (dev-env#193). README.md has the details. + +# Caller stub: netlify/caller-stub.yml. The caller grants contents: read and +# statuses: read, and passes NETLIFY_AUTH_TOKEN by name. + +on: + workflow_call: + inputs: + netlify-site: + description: Netlify site name (the in .netlify.app), e.g. ameliabooneracing + type: string + required: true + check-script: + description: Path in the CALLER repo to the check script, invoked as `