Skip to content

Commit

Permalink
GHA: add dependabot to GHA requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Apr 3, 2024
1 parent f281a50 commit 2636d35
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/requirements"
schedule:
interval: "daily"
7 changes: 4 additions & 3 deletions .github/workflows/saltbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: 'requirements-lint.txt'
cache-dependency-path: 'requirements/requirements-lint.txt'

- name: Install packages
run: pip install -r requirements-lint.txt
run: pip install -r ./requirements/requirements-lint.txt

- name: Run ansible linter
run: ansible-lint
Expand Down Expand Up @@ -151,7 +151,8 @@ jobs:
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
cache-dependency-path: 'requirements/requirements.txt'
- run: pip install -r ./requirements/requirements.txt

- name: Determine Workflow Conclusion
run: python3 ./scripts/workflow-status.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.run_id }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ansible>=9.0.0,<10.0.0
ansible==9.4.0
ansible-lint==6.22.2
jmespath==1.0.1
File renamed without changes.

0 comments on commit 2636d35

Please sign in to comment.