Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow dependabot to update dependency graph #3447

Merged
merged 2 commits into from
Jan 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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