From 066b92c96060802de1df4627de9becde5d002835 Mon Sep 17 00:00:00 2001 From: David Souther Date: Fri, 11 Oct 2024 07:49:58 -0700 Subject: [PATCH] Create validate_doc_gen_metadata.yaml Onboard to Code Examples tributary --- .../workflows/validate_doc_gen_metadata.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/validate_doc_gen_metadata.yaml diff --git a/.github/workflows/validate_doc_gen_metadata.yaml b/.github/workflows/validate_doc_gen_metadata.yaml new file mode 100644 index 00000000..c88355d9 --- /dev/null +++ b/.github/workflows/validate_doc_gen_metadata.yaml @@ -0,0 +1,24 @@ + +# Ensure DocGen metadata is valid for internal AWS docs build +# https://github.com/awsdocs/aws-doc-sdk-examples-tools +name: Validate DocGen Metadata + +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [main] + pull_request: + branches: [main] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + validate: + runs-on: ubuntu-latest + + steps: + - name: checkout repo content + uses: actions/checkout@v3 + - name: validate metadata + uses: awsdocs/aws-doc-sdk-examples-tools@main