24 lines
776 B
YAML
24 lines
776 B
YAML
# This job requires a secret called DOCS_TOKEN which should be a PAT token
|
|
# that has the permissions described in:
|
|
# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
|
|
---
|
|
name: Update docs pattern metadata
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "pattern-metadata.yaml"
|
|
- ".github/workflows/update-metadata.yml"
|
|
|
|
jobs:
|
|
update-metadata:
|
|
uses: validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
|
|
permissions: # Workflow-level permissions
|
|
contents: read # Required for "read-all"
|
|
packages: write # Allows writing to packages
|
|
id-token: write # Allows creating OpenID Connect (OIDC) tokens
|
|
secrets: inherit
|
|
# For testing you can point to a different branch in the docs repository
|
|
# with:
|
|
# DOCS_BRANCH: "main"
|