forked from awsdocs/aws-doc-sdk-examples-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
19 lines (19 loc) · 698 Bytes
/
action.yaml
File metadata and controls
19 lines (19 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: "Validate AWS Doc SDK Examples Metadata"
description: "A GitHub Action that validates metadata for projects that expose snippets via AWS Doc SDK Examples"
inputs:
root:
description: "Root of the repository checkout to validate metadata within"
default: ${{ github.workspace }}
runs:
using: "composite"
steps:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Dependencies
run: pip install -e "${{ github.action_path }}"
shell: bash
- name: Run validator
run: python3 "${{ github.action_path }}/aws_doc_sdk_examples_tools/validate.py" --root "${{ inputs.root }}"
shell: bash