diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..730d388 --- /dev/null +++ b/.github/dependabot.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..38ac025 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -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" \ No newline at end of file diff --git a/.github/workflows/rebase_dependencies.yml b/.github/workflows/rebase_dependencies.yml new file mode 100644 index 0000000..5afe074 --- /dev/null +++ b/.github/workflows/rebase_dependencies.yml @@ -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 github-actions@github.com + git rebase origin/master + git push origin dependencies --force \ No newline at end of file diff --git a/requirements_test.txt b/requirements_test.txt index 23f0231..745d00b 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -10,7 +10,7 @@ homeassistant jinja2 markupsafe pylint -pytest +pytest>=8.3.4 pytest-asyncio pytest-cov pytest-homeassistant-custom-component