Skip to content

Commit

Permalink
Add validate-release-notes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aaradhak committed Jul 18, 2024
1 parent 60d33db commit 088451a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/validate-release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Validate Release Notes

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
lint-and-validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Lint YAML files
run: |
sudo apt-get install yamllint
yamllint release-notes.yml
- name: Validate Release Notes
run: python validate_release_notes.py

0 comments on commit 088451a

Please sign in to comment.