From 65e8478f596f8717519c9eea3e2984120712ebfc Mon Sep 17 00:00:00 2001 From: robertmitchellv Date: Thu, 21 Mar 2024 22:15:41 -0700 Subject: [PATCH] change from event to input --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index aae1cb31e9..c64973a780 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -25,7 +25,7 @@ jobs: - name: Filter changed files id: filter-files run: | - CHANGED_FILES_JSON="${{ github.event.inputs.changed-files-data }}" + CHANGED_FILES_JSON="${{ inputs.changed-files-data }}" CHANGED_PY_FILES=$(echo "$CHANGED_FILES_JSON" | jq -r '.[] | select(.extension == "py") | .file') CHANGED_JS_FILES=$(echo "$CHANGED_FILES_JSON" | jq -r '.[] | select(.extension == "js" or .extension == "jsx") | .file') CHANGED_YAML_FILES=$(echo "$CHANGED_FILES_JSON" | jq -r '.[] | select(.extension == "yaml" or .extension == "yml") | .file')