Skip to content

Commit 4365d3e

Browse files
committed
Add pattern metadata workflow
1 parent 2a5f36c commit 4365d3e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This job requires a secret called DOCS_TOKEN which should be a PAT token
2+
# that has the permissions described in:
3+
# validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
4+
---
5+
name: Update docs pattern metadata
6+
7+
on:
8+
push:
9+
paths:
10+
- "pattern-metadata.yaml"
11+
- ".github/workflows/update-metadata.yml"
12+
13+
jobs:
14+
update-metadata:
15+
uses: validatedpatterns/docs/.github/workflows/metadata-docs.yml@main
16+
permissions: # Workflow-level permissions
17+
contents: read # Required for "read-all"
18+
packages: write # Allows writing to packages
19+
id-token: write # Allows creating OpenID Connect (OIDC) tokens
20+
secrets: inherit
21+
# For testing you can point to a different branch in the docs repository
22+
# with:
23+
# DOCS_BRANCH: "main"

0 commit comments

Comments
 (0)