amoghrajesh commented on code in PR #49806:
URL: https://github.com/apache/airflow/pull/49806#discussion_r2061259163


##########
.github/actions/install-pre-commit/action.yml:
##########
@@ -61,6 +61,16 @@ runs:
         key: cache-pre-commit-v4-${{ inputs.python-version }}-${{ 
hashFiles('.pre-commit-config.yaml') }}
         path: /tmp/
       id: restore-pre-commit-cache
+    - name: "Check if pre-commit cache tarball exists"

Review Comment:
   @potiuk came back at this one. If the 
`steps.restore-pre-commit-cache.outputs.stash-hit ` was false, it would anyway 
skip that step below, but due to some condition the flag was true but the file 
was not present, making this pre validate essential. (check linked CI failure)
   
   Makes sense or not?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to