Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update workflows (#4575)
Openverse (Bot)ce17b47a9ba2
diff --git a/.github/workflows/pr_label_check.yml b/.github/workflows/pr_label_check.ymlindex 67b846f4a..ef90c47ff 100644--- a/.github/workflows/pr_label_check.yml+++ b/.github/workflows/pr_label_check.yml@@ -42,7 +42,7 @@ jobs:- get_label_groupssteps:- name: Check aspect label- uses: docker://agilepathway/pull-request-label-checker:v1.6.32+ uses: docker://agilepathway/pull-request-label-checker:v1.6.44with:any_of: ${{ needs.get_label_groups.outputs.aspect }}repo_token: ${{ secrets.GITHUB_TOKEN }}@@ -55,7 +55,7 @@ jobs:- get_label_groupssteps:- name: Check goal label- uses: docker://agilepathway/pull-request-label-checker:v1.6.32+ uses: docker://agilepathway/pull-request-label-checker:v1.6.44with:one_of: ${{ needs.get_label_groups.outputs.goal }}repo_token: ${{ secrets.GITHUB_TOKEN }}@@ -68,7 +68,7 @@ jobs:- get_label_groupssteps:- name: Check priority label- uses: docker://agilepathway/pull-request-label-checker:v1.6.32+ uses: docker://agilepathway/pull-request-label-checker:v1.6.44with:one_of: ${{ needs.get_label_groups.outputs.priority }}repo_token: ${{ secrets.GITHUB_TOKEN }}@@ -81,7 +81,7 @@ jobs:- get_label_groupssteps:- name: Check stack label- uses: docker://agilepathway/pull-request-label-checker:v1.6.32+ uses: docker://agilepathway/pull-request-label-checker:v1.6.44with:any_of: ${{ needs.get_label_groups.outputs.stack }}repo_token: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.ymlindex 44fec3edf..a54186d16 100644--- a/.github/workflows/renovate.yml+++ b/.github/workflows/renovate.yml@@ -62,7 +62,7 @@ jobs:sudo chown -R runneradmin:root /tmp/renovate/ls -R "$cache_dir"- - uses: renovatebot/[email protected]+ - uses: renovatebot/[email protected]with:configurationFile: .github/renovate.jsontoken: ${{ secrets.ACCESS_TOKEN }}diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 2a7ba7bda..6227c3ffd 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -46,7 +46,7 @@ repos:- id: requirements-txt-fixer- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.4.7+ rev: v0.5.0hooks:- id: ruff # replaces Flake8, isort, pydocstyle, pyupgradeargs:@@ -155,7 +155,7 @@ repos:files: (.vale/.*|.mdx?)$- repo: https://github.com/renovatebot/pre-commit-hooks- rev: 37.384.0+ rev: 37.421.5hooks:- id: renovate-config-validatorargs:diff --git a/catalog/dags/common/storage/columns.py b/catalog/dags/common/storage/columns.pyindex 21e094b60..9ab959d6e 100644--- a/catalog/dags/common/storage/columns.py+++ b/catalog/dags/common/storage/columns.py@@ -440,7 +440,7 @@ class JSONColumn(Column):return valueelif input_type not in [dict, list] or recursion_limit <= 0:return self._Column__sanitize_string(value)- elif input_type == list:+ elif input_type is list:return [self._sanitize_json_values(item, recursion_limit=recursion_limit - 1)for item in value@@ -637,7 +637,7 @@ class ArrayColumn(Column):if value is None:return value- elif input_type != list:+ elif input_type is not list:arr_str = self.base_column.prepare_string(value)return "{" + arr_str + "}" if arr_str else None