Skip to content

Commit

Permalink
Add a validate_dependencies workflow to run as part of check_pr w…
Browse files Browse the repository at this point in the history
…orkflow

COAND-1055
  • Loading branch information
araratthehero committed Jan 6, 2025
1 parent fe7081f commit 60f037d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ jobs:
name: Validate public API
uses: ./.github/workflows/validate_public_api.yml
secrets: inherit
verify_dependencies:
name: Validate dependencies
uses: ./.github/workflows/validate_dependencies.yml
20 changes: 20 additions & 0 deletions .github/workflows/validate_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Validate dependencies

on:
workflow_call:

jobs:
validate_dependencies_for_release_notes:
runs-on: ubuntu-latest
name: Validate newly added dependencies for release notes

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Validate dependencies for release notes
run: |
chmod +x scripts/validate_dependencies_for_release_notes.py
pip install toml
python scripts/validate_dependencies_for_release_notes.py

0 comments on commit 60f037d

Please sign in to comment.