Skip to content

Bump actions/labeler from 6 to 7#2410

Merged
cxzl25 merged 1 commit into
masterfrom
dependabot/github_actions/master/actions/labeler-7
Jul 21, 2026
Merged

Bump actions/labeler from 6 to 7#2410
cxzl25 merged 1 commit into
masterfrom
dependabot/github_actions/master/actions/labeler-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/labeler from 6 to 7.

Release notes

Sourced from actions/labeler's releases.

v7.0.0

What's Changed

Enhancements:

Full Changelog: actions/labeler@v6...v7.0.0

v6.2.0

What's Changed

Bug Fix

Dependency Updates

Full Changelog: actions/labeler@v6.1.0...v6.2.0

v6.1.0

Enhancements

  • Add changed-files-labels-limit and max-files-changed configuration options to cap the number of labels added by @​bluca in actions/labeler#923

Bug Fixes

Dependency Updates

New Contributors

Full Changelog: actions/labeler@v6...v6.1.0

v6.0.1

What's Changed

New Contributors

Full Changelog: actions/labeler@v6.0.0...v6.0.1

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v6...v7)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@cxzl25
cxzl25 merged commit b30c230 into master Jul 21, 2026
123 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/master/actions/labeler-7 branch July 21, 2026 06:37
@weiqingy

Copy link
Copy Markdown
Contributor

Heads up: this bump surfaced a config incompatibility. labeler v7 depends on js-yaml ^5.1.0, which is stricter about multi-line flow-sequence indentation, and it rejects the current .github/labeler.yml with YAMLException: deficient indentation (27:7). As a result the triage check now fails on PRs that run after this merged (for example #2409).

I opened #2413 and #2414 to adapt labeler.yml to the block-sequence style, which parses cleanly under js-yaml 5.x (verified locally with js-yaml 5.2.1).

cxzl25 pushed a commit that referenced this pull request Jul 22, 2026
# Which issue does this PR close?

Closes #2413.

# Rationale for this change

#2410 bumped `actions/labeler` from v6 to v7, which brought `js-yaml`
`^5.1.0`. js-yaml 5.x enforces stricter indentation on multi-line flow
sequences and rejects the current `.github/labeler.yml` with
`YAMLException: deficient indentation (27:7)`, so the `triage` check now
fails on PRs that run after that bump.

# What changes are included in this PR?

Rewrite the glob lists in `.github/labeler.yml` from multi-line flow
sequences (`[ ... ]`) to block sequences, for all 17 label entries. The
label names and glob patterns are unchanged; only the YAML list style
changes.

Verified with `js-yaml` 5.2.1 (the version labeler v7 resolves): the
current file throws `deficient indentation (27:7)`, and the updated file
parses cleanly into the same 17 labels and 36 glob patterns.

# Are there any user-facing changes?

No. This is a CI configuration fix.

# How was this patch tested?

Loaded both the old and new `.github/labeler.yml` with `js-yaml` 5.2.1.
The old file reproduces the CI error; the new file parses without error
and yields identical label-to-glob mappings.

# Note

The `triage` check on this PR is expected to fail until this is merged.
The labeler workflow runs on `pull_request_target` and reads
`.github/labeler.yml` from the base branch (master), not from the PR, so
it still sees the current file until the fix lands on master.
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.

2 participants