diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..14d270f --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,5 @@ +{ + "fileMatch": [ + "(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)$" + ] + } \ No newline at end of file diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..d5250c0 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Renovate + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + workflow_dispatch: + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3.5.3 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v39.0.1 + with: + token: ${{ secrets.RENOVATE_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 23ce202..832b120 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,4 @@ build dist *.egg-info __pycache__ -test.py -*.json \ No newline at end of file +test.py \ No newline at end of file