Skip to content

.github: update GitHub-owned actions for Node.js 24 - #69191

Open
RaminNietzsche wants to merge 2 commits into
ceph:mainfrom
RaminNietzsche:fix/github-actions-node24-pr-triage
Open

RaminNietzsche wants to merge 2 commits into
ceph:mainfrom
RaminNietzsche:fix/github-actions-node24-pr-triage

Conversation

@RaminNietzsche

@RaminNietzsche RaminNietzsche commented May 31, 2026 •

Copy link
Copy Markdown
Member

Summary

GitHub Actions is deprecating the Node.js 20 runtime for JavaScript actions. This PR updates the GitHub-owned actions used by Ceph workflows to releases that support Node.js 24:

  • migrate actions/labeler to v6.1.0 and convert .github/labeler.yml to the v6 schema;
  • update actions/add-to-project to v2.0.0 and add the permissions required by labeler v6;
  • update actions/stale to v10.3.0;
  • update actions/github-script to v9.0.0 in diff-ceph-config.yml.

The third-party eps1lon/actions-label-merge-conflict, gregsdennis/dependencies-action, and iyu/actions-milestone pins are intentionally unchanged. Updated third-party pins require changes to the Ceph organization enterprise allowlist. The iyu/actions-milestone repository is also archived, so replacing it should be handled separately instead of upgrading it here.

All action references remain pinned to full commit SHAs.

Testing

  • Parsed all modified YAML files successfully.
  • Verified that the labeler v6 migration preserves all 28 existing label-to-path mappings.
  • Verified that the three third-party action workflows match ceph/main.
  • Existing Jenkins and GitHub Actions checks passed before the scope reduction; checks will rerun for the updated branch.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
    • Includes unit test(s)
    • Includes integration test(s)
    • Includes bug reproducer
    • No tests

Notes for reviewers

  • The triage workflow uses pull_request_target, so this PR runs the workflow from ceph/main; the updated labeler v6 configuration cannot be exercised on this PR before merge.
  • Third-party action upgrades and replacement of the archived milestone action are intentionally outside this PR.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

16 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@github-actions github-actions Bot added the CI Continuous Integration label May 31, 2026
@tchaikov

tchaikov commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

ok to test

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@cursor
cursor Bot force-pushed the fix/github-actions-node24-pr-triage branch from 64ce243 to 8273551 Compare July 13, 2026 18:55
@RaminNietzsche

Copy link
Copy Markdown
Member Author

@tchaikov The MR has been rebased and all tests passed.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@github-actions

Copy link
Copy Markdown

Config Diff Tool Output

+ added: mds_dmclock_limit (mds.yaml.in)
+ added: mds_dmclock_enable (mds.yaml.in)
+ added: mds_dmclock_weight (mds.yaml.in)
+ added: mds_dmclock_reservation (mds.yaml.in)
+ added: rgw_cloud_tier_retry_limit (rgw.yaml.in)
+ added: rgw_nfs_run_dedup_threads (rgw.yaml.in)
+ added: rgw_cloud_tier_retry_delay_ms (rgw.yaml.in)
+ added: rgw_enable_dedup_threads (rgw.yaml.in)
+ added: rgw_copious_policy_logging (rgw.yaml.in)
+ added: rgw_kafka_sasl_kerberos_service_name (rgw.yaml.in)
+ added: rgw_cloud_tier_retry_max_ms (rgw.yaml.in)
+ added: crimson_osd_max_send_buffers (crimson.yaml.in)
+ added: bluestore_log_op_verbose_kv_txc (global.yaml.in)
! changed: rgw_sts_key: old: Key used for encrypting/ decrypting role session tokens. This key must consist of 16 hexadecimal characters, which can be generated by the command 'openssl rand -hex 16'. All radosgw instances in a zone should use the same key. In multisite configurations, all zones in a realm should use the same key. (rgw.yaml.in)
! changed: rgw_sts_key: new: Key used for encrypting/decrypting role session tokens. This key must consist of 16 hexadecimal characters, which can be generated by the command 'openssl rand -hex 8'. All radosgw instances in a zone should use the same key. In multisite configurations, all zones in a realm should use the same key. (rgw.yaml.in)
! changed: bluestore_debug_enforce_settings: old: ['default', 'hdd', 'ssd'] (global.yaml.in)
! changed: bluestore_debug_enforce_settings: new: ['default', 'hybrid', 'ssd'] (global.yaml.in)
! changed: bluestore_debug_enforce_settings: old: 'hdd' enforces settings intended for BlueStore on a rotational drive. 'ssd' enforces settings intended for BlueStore on an SSD. 'default' indicates that BlueStore is to use settings based on the detected hardware. (global.yaml.in)
! changed: bluestore_debug_enforce_settings: new: 'hybrid' enforces osd settings applicable to hybrid (AKA main=hdd, db/wal=ssd) disk setup. 'ssd' enforces osd settings applicable to all-flash disk setup. 'default' specifies automatic settings selection based on real detected hardware. (global.yaml.in)
! changed: bluefs_spillover_cleaner_work_ratio: old:  (global.yaml.in)
! changed: bluefs_spillover_cleaner_work_ratio: new: 1.0 (global.yaml.in)
! changed: bluefs_spillover_cleaner_work_ratio: old:  (global.yaml.in)
! changed: bluefs_spillover_cleaner_work_ratio: new: 0.01 (global.yaml.in)
! changed: bluefs_spillover_idle_time: old:  (global.yaml.in)
! changed: bluefs_spillover_idle_time: new: 0 (global.yaml.in)
! changed: bdev_type: old: ['aio', 'spdk', 'pmem'] (global.yaml.in)
! changed: bdev_type: new: ['aio', 'spdk'] (global.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@RaminNietzsche

Copy link
Copy Markdown
Member Author

/config check ok

This PR only updates GitHub Actions workflows under .github/ (Node.js 24-capable actions). It does not change any Ceph config options or *.yaml.in files; the config-diff noise above comes from unrelated main drift, not from this change. No release-notes / config docs update is needed here.

@RaminNietzsche RaminNietzsche changed the title Fix/GitHub actions node24 pr triage .github: bump workflows to Node.js 24-capable actions Jul 29, 2026
@RaminNietzsche
RaminNietzsche requested review from bluikko and djgalloway and removed request for djgalloway September 24, 2026 20:43
@RaminNietzsche
RaminNietzsche force-pushed the fix/github-actions-node24-pr-triage branch from fbb6b85 to 5e4ede4 Compare October 27, 2026 06:57
tchaikov
tchaikov previously approved these changes Oct 27, 2026

@tchaikov tchaikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bluikko

bluikko commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

I tried something similar in #70992 and the workflows broke due to GitHub enterprise policy restrictions. If those policies are still in effect, I assume the results will be the same.

Comment thread .github/workflows/needs-rebase.yml Resolved
Comment thread .github/workflows/pr-triage.yml Resolved
@tchaikov
tchaikov dismissed their stale review October 27, 2026 13:10

thanks @bluikko. In #70992 only the third-party actions were blocked, and GitHub's own actions have been bumped on main since without trouble. So here I'd expect eps1lon/actions-label-merge-conflict, gregsdennis/dependencies-action and iyu/actions-milestone to stop running.

@RaminNietzsche could you keep the labeler v6 migration, add-to-project and stale here, and move the three third-party bumps to a separate PR that waits for the allowlist to be updated? until then they keep working, since the runner forces them onto Node 24. Also, please pin commit SHAs there: the eps1lon and iyu pins here are annotated tag objects.

@RaminNietzsche
RaminNietzsche force-pushed the fix/github-actions-node24-pr-triage branch from 5e4ede4 to 980a339 Compare October 27, 2026 15:55
@RaminNietzsche RaminNietzsche changed the title .github: bump workflows to Node.js 24-capable actions .github: update GitHub-owned actions for Node.js 24 Oct 27, 2026
@RaminNietzsche

RaminNietzsche commented Oct 27, 2026 •

Copy link
Copy Markdown
Member Author

Thanks @bluikko for flagging this and for the details from #70992. I agree that updating the three third-party actions here would repeat the enterprise allowlist risk. I have limited this PR to GitHub-owned actions and the labeler v6 migration, and removed the eps1lon/actions-label-merge-conflict, gregsdennis/dependencies-action, and iyu/actions-milestone bumps from this branch. The milestone action is also archived, so replacing it should be handled separately instead of upgrading its pin here.

@RaminNietzsche

Copy link
Copy Markdown
Member Author

Updated as requested: this PR now keeps the labeler v6 migration, actions/add-to-project, actions/stale, and the other GitHub-owned action update only. The eps1lon, gregsdennis, and iyu bumps have been removed. I also refreshed the PR title, description, and commits to match the reduced scope. Please take another look when convenient.

@github-actions

Copy link
Copy Markdown

@RaminNietzsche Thank you for reviewing this pull request! As a member of the Ceph organization, please add yourself to .githubmap in the main branch if you haven't already.

@RaminNietzsche

Copy link
Copy Markdown
Member Author

For a separate follow-up, I propose replacing the archived iyu/actions-milestone action with an in-repository implementation using actions/github-script. It would preserve the current .github/milestone.yml base-branch-to-milestone mapping, require only pull-requests: write, and remain idempotent when the expected milestone is already set or unavailable. I am keeping that replacement out of this PR so it can be reviewed and tested independently. If this direction is acceptable, I can send a focused follow-up PR.

Update actions/labeler to v6.1.0 and migrate .github/labeler.yml to
the v6 configuration schema. Update actions/add-to-project to v2.0.0
and grant the pull request permissions required by labeler v6.

Keep the existing third-party milestone action unchanged; its repository
is archived and updated pins require an enterprise allowlist change.

Signed-off-by: ramin.najarbashi <[email protected]>
Update actions/github-script to v9.0.0 and actions/stale to v10.3.0.
These GitHub-owned releases support the Node.js 24 action runtime.

Leave third-party action pins unchanged because new pins require updates
to the Ceph organization enterprise allowlist.

Signed-off-by: ramin.najarbashi <[email protected]>
@RaminNietzsche

Copy link
Copy Markdown
Member Author

Rebased onto current main (169a0fb3a86c). New tip: 80d5376bc9f4.

@RaminNietzsche
RaminNietzsche force-pushed the fix/github-actions-node24-pr-triage branch from 980a339 to 80d5376 Compare October 27, 2026 16:48
@RaminNietzsche

Copy link
Copy Markdown
Member Author

jenkins test docs

@tchaikov tchaikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@tchaikov

Copy link
Copy Markdown
Contributor

@bluikko would you mind taking another look?

@bluikko

bluikko commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

@bluikko would you mind taking another look?

It's probably better I stay on my lane so I will not submit a review, but it looks good: it migrates the labeler config to the new syntax and adds permissions config for labeler action.

The last time I was working on a CI PR, I tested it by setting the PR feature branch as the default branch in my fork and opened a PR in my fork against that branch. That seems to be one way to test workflows running from the default branch and I'd suggest to do that to be sure.

The SHAs / versions look good, but I did notice that actions/labeler is currently at bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13 / v7.0.0 while this PR updates it to v6.1.0.

@tchaikov

Copy link
Copy Markdown
Contributor

@bluikko thanks. tested in my fork at tchaikov#13

@RaminNietzsche

Copy link
Copy Markdown
Member Author

@tchaikov Thanks for approving and for testing the workflows in your fork. CI is green. Could this be merged when convenient?

On @bluikko's note about actions/labeler: this PR pins v6.1.0, which already runs on Node 24. v7.0.0 is an ESM/dependency migration with no config changes, so I'd prefer to bump it in a follow-up rather than re-test this one. Happy to fold it in here instead if you prefer.

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.

4 participants