Skip to content

Labels workflow: bump ghaction-github-labeler to v6 (Node 20 deprecation) #3

Open

Description

@Wahbeh-Mohammad

Problem

.github/workflows/labels.yml pins crazy-max/ghaction-github-labeler@v5, which declares runs: using: node20. Every caller run now warns:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: crazy-max/ghaction-github-labeler@v5.

Seen in dexpace/devhub-core run 45056072523. Nothing breaks today because the runner forces Node 24. It will break once GitHub drops Node 20 action support, and every repo calling this workflow is affected at the same time.

Fix

Bump to v6.0.0 (2026-03-01), which declares node24.

  • Input names are unchanged between v5 and v6.0.0: yaml-file, skip-delete, dry-run, exclude, github-token. This matters because of the hyphenated-input note above the step: a misspelt input falls back to dry-run: false / skip-delete: false.
  • v6 requires Actions Runner v2.327.1 or later. GitHub-hosted ubuntu-latest satisfies this.
  • Take the chance to do the SHA pin the comment already asks for, since this action gets issues: write in every caller:
uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d # v6.0.0

Update the commits/v5 lookup in the comment to v6.0.0 as well.

Verify

Dispatch a caller with dry_run on (for example dexpace/devhub-core) and confirm the Node 20 warning is gone and the plan is unchanged.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions