docs(HMS-2680): add CONTRIBUTING.md file #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Validate | |
on: | |
- push | |
- pull_request | |
permissions: | |
contents: read | |
jobs: | |
validate: | |
runs-on: "ubuntu-latest" | |
container: registry.access.redhat.com/ubi9/python-311:latest | |
steps: | |
- uses: "actions/checkout@v3" | |
- run: | | |
make validate | |
- run: | | |
make openapi-sort | |
# touch all yaml files to ensure generate-json runs | |
touch *.yaml | |
make generate-json | |
git diff --exit-code |