From 248826f0f60a216744f63c7fdd46c4f5d1c32770 Mon Sep 17 00:00:00 2001 From: Hannah Date: Wed, 20 Jul 2022 16:31:24 -0400 Subject: [PATCH 1/2] add gh-actions file, remove dependabot --- .github/workflows/dependencies.yml | 33 ++++++++++++++++++++++++++++++ dependabot.yml | 7 ------- 2 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/dependencies.yml delete mode 100644 dependabot.yml diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml new file mode 100644 index 00000000..925762cb --- /dev/null +++ b/.github/workflows/dependencies.yml @@ -0,0 +1,33 @@ +name: update dependencies +on: + + schedule: + - cron: '0 0 1 * *' + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: development + + - uses: actions/setup-python@v4 + with: + python-version: '3.10' + cache: pip + - run: | + pip install pip-tools + pip-compile --upgrade + - name: Create Pull Request + uses: peter-evans/create-pull-request@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + base: development + branch: dependency-updates + delete-branch: true + title: Dependency Updates + commit-message: Dependency updates \ No newline at end of file diff --git a/dependabot.yml b/dependabot.yml deleted file mode 100644 index f0528841..00000000 --- a/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "monthly" - target-branch: "development" From 80e224f250140fbf241f77a633f81c66b573f1d2 Mon Sep 17 00:00:00 2001 From: Hannah Date: Thu, 21 Jul 2022 09:19:38 -0400 Subject: [PATCH 2/2] update requirements --- requirements.in | 28 ++++++++++++++-------------- requirements.txt | 16 ++++++++-------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/requirements.in b/requirements.in index a6152a38..b34da110 100644 --- a/requirements.in +++ b/requirements.in @@ -1,14 +1,14 @@ -Django==4.0.5 -django-cors-headers==3.12.0 -django-elasticsearch-dsl==7.2.2 -django-elasticsearch-dsl-drf==0.22.4 -djangorestframework==3.13.1 -elasticsearch==7.17.0 -elasticsearch-dsl==7.4.0 -jsonschema==4.4.0 -psycopg2-binary==2.9.3 -PyYAML==6.0 -rac-schemas==0.30 -rac_es==0.18 -shortuuid==1.0.9 -uritemplate==4.1.1 +Django~=4.0 +django-cors-headers~=3.13 +django-elasticsearch-dsl~=7.2 +django-elasticsearch-dsl-drf~=0.22 +djangorestframework~=3.13 +elasticsearch~=7.17 +elasticsearch-dsl~=7.4 +jsonschema~=4.7 +psycopg2-binary~=2.9 +PyYAML~=6.0 +rac-schemas~=0.30 +rac_es~=1.0 +shortuuid~=1.0 +uritemplate~=4.1 diff --git a/requirements.txt b/requirements.txt index cc7a856e..8dcdd60e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,21 +8,21 @@ asgiref==3.5.2 # via django attrs==21.4.0 # via jsonschema -certifi==2022.5.18.1 +certifi==2022.6.15 # via elasticsearch -django==4.0.5 +django==4.0.6 # via # -r requirements.in # django-cors-headers # django-nine # djangorestframework -django-cors-headers==3.12.0 +django-cors-headers==3.13.0 # via -r requirements.in django-elasticsearch-dsl==7.2.2 # via # -r requirements.in # django-elasticsearch-dsl-drf -django-elasticsearch-dsl-drf==0.22.4 +django-elasticsearch-dsl-drf==0.22.5 # via -r requirements.in django-nine==0.2.5 # via django-elasticsearch-dsl-drf @@ -30,7 +30,7 @@ djangorestframework==3.13.1 # via # -r requirements.in # django-elasticsearch-dsl-drf -elasticsearch==7.17.0 +elasticsearch==7.17.4 # via # -r requirements.in # django-elasticsearch-dsl-drf @@ -42,7 +42,7 @@ elasticsearch-dsl==7.4.0 # django-elasticsearch-dsl # django-elasticsearch-dsl-drf # rac-es -jsonschema==4.4.0 +jsonschema==4.7.2 # via # -r requirements.in # rac-schemas @@ -56,7 +56,7 @@ pytz==2022.1 # via djangorestframework pyyaml==6.0 # via -r requirements.in -rac-es==0.18 +rac-es==1.0.0 # via -r requirements.in rac-schemas==0.30 # via -r requirements.in @@ -72,5 +72,5 @@ sqlparse==0.4.2 # via django uritemplate==4.1.1 # via -r requirements.in -urllib3==1.26.9 +urllib3==1.26.10 # via elasticsearch