This is an automated email from the ASF dual-hosted git repository. gopidesu pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new 2c057bd528f CI: Bump zizmor hook (#55618) 2c057bd528f is described below commit 2c057bd528f856e8afb6b4f27c6c3bffecad1a88 Author: GPK <gopidesupa...@gmail.com> AuthorDate: Sat Sep 13 10:40:13 2025 +0100 CI: Bump zizmor hook (#55618) * Bump zizmor hook * Fix zizmor findings * Fix zizmor findings --- .github/workflows/ci-image-build.yml | 3 ++- .github/workflows/prod-image-build.yml | 3 ++- .pre-commit-config.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-image-build.yml b/.github/workflows/ci-image-build.yml index b7e09a38648..6fc2c4e9bf6 100644 --- a/.github/workflows/ci-image-build.yml +++ b/.github/workflows/ci-image-build.yml @@ -72,6 +72,7 @@ on: # yamllint disable-line rule:truthy description: "JSON-formatted array of Python versions to build images from" required: true type: string + default: '[""]' branch: description: "Branch used to run the CI jobs in (main/v*_*_test)." required: true @@ -99,7 +100,7 @@ jobs: strategy: fail-fast: true matrix: - python-version: ${{ fromJSON(inputs.python-versions) || fromJSON('[""]') }} + python-version: ${{ fromJSON(inputs.python-versions) }} timeout-minutes: 110 name: "Build CI ${{ inputs.platform }} image ${{ matrix.python-version }}" runs-on: ${{ fromJSON(inputs.runners) }} diff --git a/.github/workflows/prod-image-build.yml b/.github/workflows/prod-image-build.yml index 2063d3ee973..93eb251cf0d 100644 --- a/.github/workflows/prod-image-build.yml +++ b/.github/workflows/prod-image-build.yml @@ -76,6 +76,7 @@ on: # yamllint disable-line rule:truthy description: "JSON-formatted array of Python versions to build images from" required: true type: string + default: '[""]' default-python-version: description: "Which version of python should be used by default" required: true @@ -184,7 +185,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ${{ fromJSON(inputs.python-versions) || fromJSON('[""]') }} + python-version: ${{ fromJSON(inputs.python-versions) }} timeout-minutes: 80 name: "Build PROD ${{ inputs.build-type }} image ${{ matrix.python-version }}" runs-on: ${{ fromJSON(inputs.runners) }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index beee60516bf..0e3c4c7b5dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -354,7 +354,7 @@ repos: - --skip=providers/.*/src/airflow/providers/*/*.rst,providers/*/docs/changelog.rst,docs/*/commits.rst,providers/*/docs/commits.rst,providers/*/*/docs/commits.rst,docs/apache-airflow/tutorial/pipeline_example.csv,*.min.js,*.lock,INTHEWILD.md,*.svg - --exclude-file=.codespellignorelines - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: 5fee7cc03a2498e0ce36a18f36dfb558a30a426c # frozen: v1.12.1 + rev: b933184438555436e38621f46ceb0c417cbed400 # frozen: v1.13.0 hooks: - id: zizmor name: Run zizmor to check for github workflow syntax errors