Skip to content

Commit

Permalink
Merge pull request #209 from LaggAt/devops/dependabot
Browse files Browse the repository at this point in the history
Devops/dependabot
  • Loading branch information
LaggAt authored Jan 9, 2025
2 parents 7e69984 + b7c08b0 commit e940cef
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
# Enable version updates for Python
- package-ecosystem: "pip"
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
9 changes: 9 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
# Enable version updates for Python
- package-ecosystem: "pip"
directory: "/"
# Check for updates once a week
schedule:
interval: "weekly"
target-branch: "dependencies"
19 changes: 19 additions & 0 deletions .github/workflows/rebase_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Automatic Rebase
on:
push:
branches:
- master
jobs:
rebase:
name: Rebase `dependencies` with `master`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
ref: dependencies
- run: |
git config user.name github-actions
git config user.email [email protected]
git rebase origin/master
git push origin dependencies --force
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ homeassistant
jinja2
markupsafe
pylint
pytest
pytest>=8.3.4
pytest-asyncio
pytest-cov
pytest-homeassistant-custom-component
Expand Down

0 comments on commit e940cef

Please sign in to comment.