lhotari opened a new pull request, #25412: URL: https://github.com/apache/pulsar/pull/25412
### Motivation All official GitHub Actions (`actions/*`) used in CI workflows were on older major versions. Upgrading to the latest major versions ensures: - **Node.js 24 runtime support** — all updated actions now run on Node.js 24 (requires runner ≥ v2.327.1, which GitHub-hosted runners already satisfy) - Access to latest bug fixes, security patches, and features ### Modifications Upgraded all `actions/*` GitHub Actions in `.github/workflows/` to their latest major version tags: | Action | Before | After | Key Changes | |--------|--------|-------|-------------| | `actions/checkout` | v4 | **v6** | Node 24 runtime; credentials persisted to separate file | | `actions/setup-java` | v4 | **v5** | Node 24 runtime | | `actions/upload-artifact` | v4 | **v7** | Node 24; ESM module; new `archive` param for direct uploads | | `actions/download-artifact` | v4 | **v8** | Node 24; ESM; hash digest mismatch now errors by default | | `actions/github-script` | v6, v7 | **v8** | Node 24 runtime | | `actions/labeler` | v5 | **v6** | Node 24 runtime | | `actions/setup-go` | v5 | **v6** | Node 24 runtime; improved toolchain handling | **Files changed:** `ci-go-functions.yaml`, `ci-gradle-cache-update.yaml`, `codeql.yaml`, `labeler.yml`, `pulsar-ci-flaky.yaml`, `pulsar-ci.yaml` **Note on `actions/download-artifact` v8:** Hash digest mismatches now error by default (previously warned). If this causes issues, the `digest-mismatch: warn` parameter can restore the old behavior. ### Verifying this change - [ ] Make sure that the change passes the CI checks. This change is already covered by existing CI workflow runs — all workflows will exercise the upgraded actions. ### Does this pull request potentially affect one of the following parts: - [ ] Dependencies (add or upgrade a dependency) - [ ] The public API - [ ] The schema - [ ] The default values of configurations - [ ] The threading model - [ ] The binary protocol - [ ] The REST endpoints - [ ] The admin CLI options - [ ] The metrics - [ ] Anything that affects deployment ### Documentation - [x] `doc-not-needed` -- 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]
