Skip to content

Commit

Permalink
Merge pull request #3447 from GeotrekCE/allow_dependabot_to_update_de…
Browse files Browse the repository at this point in the history
…pendency_graph

allow dependabot to update dependency graph
  • Loading branch information
submarcos authored Jan 27, 2023
2 parents 328d73d + 9fd216d commit 2cb0253
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ jobs:
requirements-dev.txt
- name: Validating graph
if: steps.verify-changed-files.outputs.files_changed == 'true'
if: steps.verify-changed-files.outputs.files_changed == 'true' && github.actor != 'dependabot[bot]'
run: |
echo "Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}"
core.setFailed('Please add your new dependencies in setup.py and/or requirements-dev.in then run pip-compile to add them in requirements. (see docs/contribute/development)')
- name: Dependabot commit dependencies
uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.actor == 'dependabot[bot]' }}
with:
commit_message: Apply dependencies update by dependabot

- name: Flake8
run: |
flake8 geotrek

0 comments on commit 2cb0253

Please sign in to comment.