ci: upgrade 3rd-party GitHub Actions to latest versions (PFP-3026)#17574
Conversation
|
Linear: PFP-4032 Thanks for your contribution! We have created an internal ticket to track this PR. A member of the core DataHub team will be assigned to review it within the next few business days - you will get a follow-up comment once a reviewer is assigned. |
- actions/checkout: all hashes → v6.0.2 (de0fac2e) - actions/cache: v4 → v5.0.4 (66822842) - actions/upload-artifact: v3/v4 → v7.0.0 (bbbca2dd) - actions/download-artifact: v4/v6 → v8.0.1 (3e5f45b2) - actions/setup-python: v5 → v6 (a309ff8b) - actions/setup-java: v4 → v5 (be666c2f) - actions/create-github-app-token: v1 → v3.1.1 (1b10c78c) - gradle/actions/setup-gradle: v4 → v5.0.2 (07231958) - gradle/gradle-build-action: v2/v3 → v3.5.0 (ac638b01) - docker/login-action: v3 → v4.0.0 (9780b0c4) - astral-sh/setup-uv: v5 → v7.6.0 (6b9c6063) - aws-actions/configure-aws-credentials: v5 → v6.0.0 (b47578312) - cloudflare/pages-action → wrangler-action v4.0.0 (ebbaa158) (migrated react-cloudflare-pages.yml, python-build-pages.yml) All actions pinned to commit hashes per INC-2615 supply chain policy.
85f8bac to
7121d7b
Compare
- gradle/gradle-build-action v3.5.0: ac638b01 → ac2d340d (correct hash) - astral-sh/setup-uv v7.6.0: 6b9c6063 → 37802adc (correct hash)
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
- docker/login-action v4.0.0: 9780b0c4 → b45d80f8 - aws-actions/configure-aws-credentials v6.0.0: b4757831 → 8df58475 - actions/create-github-app-token v3.1.1: 1b10c78c5db1 → 1b10c78c7865 - amannn/action-semantic-pull-request v6.1.1: 6a236be8 → 48f25628 - marocchino/sticky-pull-request-comment v3.0.2: 773744cb → 70d2764d - actions/upload-artifact: missed v4 instance in pdl-change-report.yml → v7.0.0
…_type codecov/test-results-action is deprecated in favor of codecov/codecov-action with report_type: test_results. Updated all 11 usages across 10 workflow files. Also bumped codecov/codecov-action from v5.0.x (1af58845) to v5.5.4 (75cd1169) for all coverage upload steps.
rajkz-dh
left a comment
There was a problem hiding this comment.
All 16 action upgrades are correct — every commit hash verified against the GitHub tag API. Cloudflare pages-action → wrangler-action migration is syntactically correct including the deployment-url output ref fix. codecov/test-results-action properly migrated to codecov-action@v5.5.4 with report_type: test_results on all 11 usages.
Two minor description issues (fixed in updated description below):
- 6 stale commit hash prefixes from before hash-correction commits were pushed
- Missing codecov migration section
Summary
Upgrades all outdated 3rd-party GitHub Actions across 33 workflow files and pins every action to a commit hash (not a floating tag). Also migrates deprecated `cloudflare/pages-action` and `codecov/test-results-action`. Motivated by INC-2615 (Trivy supply chain incident) and tracked under PFP-3026.
Actions upgraded
Codecov migration
`codecov/test-results-action` is deprecated in favour of `codecov/codecov-action` with `report_type: test_results`. Migrated all 11 usages across 10 workflow files:
Affected files: `build-and-test.yml`, `docker-unified.yml`, `docker-unified-nightly.yml`, `playwright-e2e-tests.yml`, `metadata-io.yml`, `metadata-ingestion.yml`, `airflow-plugin.yml`, `dagster-plugin.yml`, `gx-plugin.yml`, `prefect-plugin.yml`
Cloudflare migration notes (PFP-3041)
`cloudflare/pages-action` is deprecated. Migrated to `cloudflare/wrangler-action@v4.0.0`:
Affected files: `react-cloudflare-pages.yml`, `python-build-pages.yml`
Notes
Test plan