Skip to content

Pinning codecov to fix zizmor warnings - #50749

Merged
amoghrajesh merged 1 commit into
apache:mainfrom
amoghrajesh:pin-codecov
May 18, 2025
Merged

amoghrajesh merged 1 commit into
apache:mainfrom
amoghrajesh:pin-codecov

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

After fixing the upgrade checks on main, it will fail some zizmor checks, example: https://github.com/apache/airflow/actions/runs/15095677291/job/42430124052

 INFO audit: zizmor: 🌈 completed .github/workflows/stale.yml
 INFO audit: zizmor: 🌈 completed .github/workflows/test-providers.yml
error[: unpinned action reference
  --> .github/actions/post_tests_success/action.yml:47:7
   |
47 |       uses: codecov/codecov-action@v4
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High

10 findings (9 suppressed): 0 unknown, 0 informational, 0 low, 0 medium, 1 high

Earlier we used codecov/codecov-action@v4, replacing it now with pertaining hash: codecov/codecov-action@b9fd7d1


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@amoghrajesh
amoghrajesh merged commit 167ece7 into apache:main May 18, 2025
dadonnelly316 pushed a commit to dadonnelly316/airflow that referenced this pull request May 26, 2025
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants