From 83a2bc210e28186811be8bbfde2c0f47b335d6c2 Mon Sep 17 00:00:00 2001 From: Daisy Gutierrez Date: Wed, 30 Jul 2025 13:23:16 -0700 Subject: [PATCH] Adding a workflow to trigger dependency verification. on changes to deps. --- .github/workflows/dependency-check.yml | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/dependency-check.yml diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml new file mode 100644 index 000000000..ad95636a2 --- /dev/null +++ b/.github/workflows/dependency-check.yml @@ -0,0 +1,29 @@ +name: Dependency Check + +on: + pull_request: + paths: + - '**/Pipfile' + - '**/Pipfile.lock' + - '**/requirements*.txt' + push: + branches: [master] + paths: + - '**/Pipfile' + - '**/Pipfile.lock' + - '**/requirements*.txt' + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + - name: Verify dependencies + run: | + pip install pipenv + pipenv verify + pipenv requirements | diff requirements.txt - + echo "Dependencies verified" \ No newline at end of file