Skip to content

Commit d296811

Browse files
committed
Add github actions to validate DocGen metadata.
This uses the AWS Docs SDK Code Examples Tools validator to ensure metadata is valid for internal Code Library docs builds.
1 parent 36c3ac5 commit d296811

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+
# Ensure DocGen metadata is valid for internal AWS docs build
2+
# https://github.com/awsdocs/aws-doc-sdk-examples-tools
3+
name: Validate DocGen Metadata
4+
5+
on:
6+
# Triggers the workflow on push or pull request events but only for the main branch
7+
push:
8+
branches: [main]
9+
pull_request:
10+
branches: [main]
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: checkout repo content
21+
uses: actions/checkout@v3
22+
- name: validate metadata
23+
uses: awsdocs/aws-doc-sdk-examples-tools@main

0 commit comments

Comments
 (0)