Skip to content

Commit

Permalink
add deps dev
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Oct 8, 2024
1 parent 34bee06 commit e2f5d52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ jobs:
quality:
name: Checking dependency graph
runs-on: ${{ matrix.os }}

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

strategy:
matrix:
os: ['ubuntu-20.04']
python-version: ['3.8']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Set up Python
uses: ./.github/actions/python-cache-requirements
Expand Down Expand Up @@ -53,4 +61,7 @@ jobs:
run: |
echo "Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}"
git diff
core.setFailed('Please add your new dependencies in setup.py and/or dev-requirements.in then run pip-compile to add them in requirements. (see docs/contribute/development)')
- uses: stefanzweifel/git-auto-commit-action@v5
if: steps.verify-changed-files.outputs.files_changed == 'true'
name: "Commiting dependencies files"
2 changes: 0 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ backports-zoneinfo==0.2.1 ; python_version < "3.10"
# via
# -c requirements.txt
# django
build==1.0.0
# via pip-tools
click==8.1.3
# via
# -c requirements.txt
Expand Down

0 comments on commit e2f5d52

Please sign in to comment.