diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 951c66c..91abb11 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,6 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + version: 2 updates: - - package-ecosystem: "" # See documentation for possible values + - package-ecosystem: "pip" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "weekly" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..107ef8e --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,74 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ "master" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "master" ] + schedule: + - cron: '27 23 * * 0' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript', 'python' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" diff --git a/requirements/docker.txt b/requirements/docker.txt index 7e5c429..d4731ee 100644 --- a/requirements/docker.txt +++ b/requirements/docker.txt @@ -1,7 +1,7 @@ asgiref==3.5.0 attrs==21.4.0 -coverage==6.3 -Django==4.0.6 +coverage==6.5.0 +Django==4.1.3 django-crispy-forms==1.14.0 django-filter==21.1 django-floppyforms==1.9.0 @@ -17,7 +17,7 @@ iniconfig==1.1.1 mixer==7.2.0 packaging==21.3 pluggy==1.0.0 -psycopg2-binary==2.8.6 +psycopg2-binary==2.9.5 py==1.11.0 pyaml==21.10.1 pyparsing==3.0.7 @@ -31,7 +31,7 @@ python-monkey-business==1.0.0 pytz==2021.3 PyYAML==6.0 six==1.16.0 -sqlparse==0.4.2 +sqlparse==0.4.3 text-unidecode==1.3 toml==0.10.2 tomli==2.0.0 diff --git a/requirements/local.txt b/requirements/local.txt index 0a7c3b4..f04b334 100644 --- a/requirements/local.txt +++ b/requirements/local.txt @@ -4,8 +4,8 @@ attrs==21.4.0 autopep8==1.6.0 black==21.12b0 click==8.0.3 -coverage==6.2 -Django==4.0.6 +coverage==6.5.0 +Django==4.1.3 django-crispy-forms==1.14.0 django-filter==21.1 django-floppyforms==1.9.0 @@ -36,7 +36,7 @@ pycodestyle==2.8.0 pyflakes==2.4.0 pylint==2.12.2 pyparsing==3.0.6 -psycopg2-binary==2.8.6 +psycopg2-binary==2.9.5 pytest==6.2.5 pytest-cov==3.0.0 pytest-django==4.5.2 @@ -48,7 +48,7 @@ pytz==2021.3 PyYAML==6.0 rope==0.22.0 six==1.16.0 -sqlparse==0.4.2 +sqlparse==0.4.3 text-unidecode==1.3 toml==0.10.2 tomli==1.2.3