Bump actions/labeler from 6 to 7 - #7583
Conversation
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>
|
Hello @dependabot[bot], |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/labeler/releases">actions/labeler's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Migrate to ESM and update dependencies by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/949">actions/labeler#949</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v7.0.0">https://github.com/actions/labeler/compare/v6...v7.0.0</a></p> <h2>v6.2.0</h2> <h2>What's Changed</h2> <h3>Bug Fix</h3> <ul> <li>Improve PR number validation and warning messages in input handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/939">actions/labeler#939</a></li> </ul> <h3>Dependency Updates</h3> <ul> <li>Bump js-yaml to 4.2.0, apply npm audit fix, and add undici override by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/943">actions/labeler#943</a></li> <li>Bump <code>typescript-eslint/eslint-plugin</code> from 8.59.1 to 8.61.1 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/942">actions/labeler#942</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.1.0...v6.2.0">https://github.com/actions/labeler/compare/v6.1.0...v6.2.0</a></p> <h2>v6.1.0</h2> <h2>Enhancements</h2> <ul> <li>Add changed-files-labels-limit and max-files-changed configuration options to cap the number of labels added by <a href="https://github.com/bluca"><code>bluca</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> </ul> <h2>Bug Fixes</h2> <ul> <li>Improve Labeler Action documentation and permission error handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li>Preserve manually added labels during workflow runs and refine label synchronization logic by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/917">actions/labeler#917</a></li> </ul> <h2>Dependency Updates</h2> <ul> <li>Upgrade brace-expansion from 1.1.11 to 1.1.12 and document breaking changes in v6 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/877">actions/labeler#877</a></li> <li>Upgrade minimatch from 10.0.1 to 10.2.3 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/926">actions/labeler#926</a></li> <li>Upgrade dependencies (<code>actions/core</code>, <code>actions/github</code>, js-yaml, minimatch, <a href="https://github.com/typescript-eslint"><code>typescript-eslint</code></a>) by <a href="https://github.com/Copilot"><code>Copilot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li><a href="https://github.com/bluca"><code>bluca</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> <li><a href="https://github.com/Copilot"><code>Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v6.1.0">https://github.com/actions/labeler/compare/v6...v6.1.0</a></p> <h2>v6.0.1</h2> <h2>What's Changed</h2> <ul> <li>Upgrade publish-action from 0.2.2 to 0.4.0 by <a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.0.0...v6.0.1">https://github.com/actions/labeler/compare/v6.0.0...v6.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/labeler/commit/bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13"><code>bf12e9b</code></a> feat: migrate to ESM and update dependencies (<a href="https://redirect.github.com/actions/labeler/issues/949">#949</a>)</li> <li>See full diff in <a href="https://github.com/actions/labeler/compare/v6...v7">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Closes #7583 from dependabot[bot]/dependabot/github_actions/actions/labeler-7. Closes #7583 0ba0fee [dependabot[bot]] Bump actions/labeler from 6 to 7 Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit c98d6ff) Signed-off-by: Cheng Pan <chengpan@apache.org>
Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/labeler/releases">actions/labeler's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Migrate to ESM and update dependencies by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/949">actions/labeler#949</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v7.0.0">https://github.com/actions/labeler/compare/v6...v7.0.0</a></p> <h2>v6.2.0</h2> <h2>What's Changed</h2> <h3>Bug Fix</h3> <ul> <li>Improve PR number validation and warning messages in input handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/939">actions/labeler#939</a></li> </ul> <h3>Dependency Updates</h3> <ul> <li>Bump js-yaml to 4.2.0, apply npm audit fix, and add undici override by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/943">actions/labeler#943</a></li> <li>Bump <code>typescript-eslint/eslint-plugin</code> from 8.59.1 to 8.61.1 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/942">actions/labeler#942</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.1.0...v6.2.0">https://github.com/actions/labeler/compare/v6.1.0...v6.2.0</a></p> <h2>v6.1.0</h2> <h2>Enhancements</h2> <ul> <li>Add changed-files-labels-limit and max-files-changed configuration options to cap the number of labels added by <a href="https://github.com/bluca"><code>bluca</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> </ul> <h2>Bug Fixes</h2> <ul> <li>Improve Labeler Action documentation and permission error handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li>Preserve manually added labels during workflow runs and refine label synchronization logic by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/917">actions/labeler#917</a></li> </ul> <h2>Dependency Updates</h2> <ul> <li>Upgrade brace-expansion from 1.1.11 to 1.1.12 and document breaking changes in v6 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/877">actions/labeler#877</a></li> <li>Upgrade minimatch from 10.0.1 to 10.2.3 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/926">actions/labeler#926</a></li> <li>Upgrade dependencies (<code>actions/core</code>, <code>actions/github</code>, js-yaml, minimatch, <a href="https://github.com/typescript-eslint"><code>typescript-eslint</code></a>) by <a href="https://github.com/Copilot"><code>Copilot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li><a href="https://github.com/bluca"><code>bluca</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> <li><a href="https://github.com/Copilot"><code>Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v6.1.0">https://github.com/actions/labeler/compare/v6...v6.1.0</a></p> <h2>v6.0.1</h2> <h2>What's Changed</h2> <ul> <li>Upgrade publish-action from 0.2.2 to 0.4.0 by <a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.0.0...v6.0.1">https://github.com/actions/labeler/compare/v6.0.0...v6.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/labeler/commit/bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13"><code>bf12e9b</code></a> feat: migrate to ESM and update dependencies (<a href="https://redirect.github.com/actions/labeler/issues/949">#949</a>)</li> <li>See full diff in <a href="https://github.com/actions/labeler/compare/v6...v7">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Closes #7583 from dependabot[bot]/dependabot/github_actions/actions/labeler-7. Closes #7583 0ba0fee [dependabot[bot]] Bump actions/labeler from 6 to 7 Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit c98d6ff) Signed-off-by: Cheng Pan <chengpan@apache.org>
Bumps [actions/labeler](https://github.com/actions/labeler) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/labeler/releases">actions/labeler's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Migrate to ESM and update dependencies by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/949">actions/labeler#949</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v7.0.0">https://github.com/actions/labeler/compare/v6...v7.0.0</a></p> <h2>v6.2.0</h2> <h2>What's Changed</h2> <h3>Bug Fix</h3> <ul> <li>Improve PR number validation and warning messages in input handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/939">actions/labeler#939</a></li> </ul> <h3>Dependency Updates</h3> <ul> <li>Bump js-yaml to 4.2.0, apply npm audit fix, and add undici override by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/943">actions/labeler#943</a></li> <li>Bump <code>typescript-eslint/eslint-plugin</code> from 8.59.1 to 8.61.1 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/942">actions/labeler#942</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.1.0...v6.2.0">https://github.com/actions/labeler/compare/v6.1.0...v6.2.0</a></p> <h2>v6.1.0</h2> <h2>Enhancements</h2> <ul> <li>Add changed-files-labels-limit and max-files-changed configuration options to cap the number of labels added by <a href="https://github.com/bluca"><code>bluca</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> </ul> <h2>Bug Fixes</h2> <ul> <li>Improve Labeler Action documentation and permission error handling by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li>Preserve manually added labels during workflow runs and refine label synchronization logic by <a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/917">actions/labeler#917</a></li> </ul> <h2>Dependency Updates</h2> <ul> <li>Upgrade brace-expansion from 1.1.11 to 1.1.12 and document breaking changes in v6 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/877">actions/labeler#877</a></li> <li>Upgrade minimatch from 10.0.1 to 10.2.3 by <a href="https://github.com/dependabot"><code>dependabot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/926">actions/labeler#926</a></li> <li>Upgrade dependencies (<code>actions/core</code>, <code>actions/github</code>, js-yaml, minimatch, <a href="https://github.com/typescript-eslint"><code>typescript-eslint</code></a>) by <a href="https://github.com/Copilot"><code>Copilot</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/chiranjib-swain"><code>chiranjib-swain</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/897">actions/labeler#897</a></li> <li><a href="https://github.com/bluca"><code>bluca</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/923">actions/labeler#923</a></li> <li><a href="https://github.com/Copilot"><code>Copilot</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/934">actions/labeler#934</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6...v6.1.0">https://github.com/actions/labeler/compare/v6...v6.1.0</a></p> <h2>v6.0.1</h2> <h2>What's Changed</h2> <ul> <li>Upgrade publish-action from 0.2.2 to 0.4.0 by <a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/aparnajyothi-y"><code>aparnajyothi-y</code></a> made their first contribution in <a href="https://redirect.github.com/actions/labeler/pull/901">actions/labeler#901</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/labeler/compare/v6.0.0...v6.0.1">https://github.com/actions/labeler/compare/v6.0.0...v6.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/labeler/commit/bf12e9b00b37c5c0ca2b87b79b2daf7891dbda13"><code>bf12e9b</code></a> feat: migrate to ESM and update dependencies (<a href="https://redirect.github.com/actions/labeler/issues/949">#949</a>)</li> <li>See full diff in <a href="https://github.com/actions/labeler/compare/v6...v7">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Closes #7583 from dependabot[bot]/dependabot/github_actions/actions/labeler-7. Closes #7583 0ba0fee [dependabot[bot]] Bump actions/labeler from 6 to 7 Authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit c98d6ff) Signed-off-by: Cheng Pan <chengpan@apache.org>
|
merged to branch-1.10 onwards |
…s/labeler v7 Closes #7597 ### Why are the changes needed? `actions/labelerv7` fails to parse `.github/labeler.yml` and aborts the workflow before applying any labels: ``` Run actions/labelerv7 The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api Error: YAMLException: deficient indentation (24:7) 21 | "kind:build": 22 | - changed-files: 23 | - any-glob-to-any-file: [ 24 | '.dockerignore', ------------^ 25 | '.rat-excludes', 26 | '.scalafmt', ``` Every `any-glob-to-any-file: [ ... ]` / `all-globs-to-any-file: [ ... ]` block fails with the same error, so the job bails out and no `kind:*` / `module:*` labels are applied to PRs. Triage has been silently broken since the v7 bump in #7583. **Root cause.** The file uses YAML flow-style sequences (`[ ... ]`) split across multiple lines, with continuation lines indented at 6 spaces while the opening `[` sits at column 27. YAML 1.2 (and `js-yaml4`, which `actions/labelerv7` depends on) requires flow-sequence continuation lines to be indented at least one column past the line containing the opening bracket — hence `deficient indentation`. The format was introduced in #5874 (commit `7e96dc7bc9`, 2023-12-19) when the action was bumped from v4 to v5. v5/v6 bundled an older `js-yaml` that did not strictly enforce the indentation rule, which is why the bug stayed latent for ~2 years. ### What does this PR do? Rewrite every `any-glob-to-any-file: [ ... ]` and `all-globs-to-any-file: [ ... ]` block in `.github/labeler.yml` as a standard YAML block-style sequence. Same 22 labels, same glob sets — no semantic change. The file now parses cleanly under strict YAML 1.2 and is forward-compatible with future `actions/labeler` releases. Also dropped: - the trailing whitespace on line 48 of the old file (under the `kind:deploy` block) - the inconsistent 6-space indent under `module:spark`, which was the only block at odds with the rest of the file ### How was this patch tested? 1. Parsed the rewritten file with `python3 -c "import yaml; yaml.safe_load(open('.github/labeler.yml'))"` — succeeds. 2. Cross-checked label keys and glob counts against the pre-change file: 22 labels preserved, identical glob counts per label. 3. Spotless does not process YAML files (see `pom.xml` — only `java`, `scala`, `pom`, `python`, `markdown` are in scope), so no format step is required for this change. End-to-end verification will happen on the next PR opened against `apache/master` that runs the `Pull Request Labeler` workflow. ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenCode with MiniMax-M3 Closes #7598 from bowenliang123/kyuubi-7597-fix-labeler-yaml-indentation. Closes #7597 33ab1ef [Bowen Liang] [KYUUBI #7597][INFRA] Fix labeler.yml YAML parsing error under actions/labeler v7 Authored-by: Bowen Liang <liang.bowen.123@qq.com> Signed-off-by: Bowen Liang <liang.bowen.123@qq.com>
…s/labeler v7 Closes #7597 ### Why are the changes needed? `actions/labelerv7` fails to parse `.github/labeler.yml` and aborts the workflow before applying any labels: ``` Run actions/labelerv7 The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api Error: YAMLException: deficient indentation (24:7) 21 | "kind:build": 22 | - changed-files: 23 | - any-glob-to-any-file: [ 24 | '.dockerignore', ------------^ 25 | '.rat-excludes', 26 | '.scalafmt', ``` Every `any-glob-to-any-file: [ ... ]` / `all-globs-to-any-file: [ ... ]` block fails with the same error, so the job bails out and no `kind:*` / `module:*` labels are applied to PRs. Triage has been silently broken since the v7 bump in #7583. **Root cause.** The file uses YAML flow-style sequences (`[ ... ]`) split across multiple lines, with continuation lines indented at 6 spaces while the opening `[` sits at column 27. YAML 1.2 (and `js-yaml4`, which `actions/labelerv7` depends on) requires flow-sequence continuation lines to be indented at least one column past the line containing the opening bracket — hence `deficient indentation`. The format was introduced in #5874 (commit `7e96dc7bc9`, 2023-12-19) when the action was bumped from v4 to v5. v5/v6 bundled an older `js-yaml` that did not strictly enforce the indentation rule, which is why the bug stayed latent for ~2 years. ### What does this PR do? Rewrite every `any-glob-to-any-file: [ ... ]` and `all-globs-to-any-file: [ ... ]` block in `.github/labeler.yml` as a standard YAML block-style sequence. Same 22 labels, same glob sets — no semantic change. The file now parses cleanly under strict YAML 1.2 and is forward-compatible with future `actions/labeler` releases. Also dropped: - the trailing whitespace on line 48 of the old file (under the `kind:deploy` block) - the inconsistent 6-space indent under `module:spark`, which was the only block at odds with the rest of the file ### How was this patch tested? 1. Parsed the rewritten file with `python3 -c "import yaml; yaml.safe_load(open('.github/labeler.yml'))"` — succeeds. 2. Cross-checked label keys and glob counts against the pre-change file: 22 labels preserved, identical glob counts per label. 3. Spotless does not process YAML files (see `pom.xml` — only `java`, `scala`, `pom`, `python`, `markdown` are in scope), so no format step is required for this change. End-to-end verification will happen on the next PR opened against `apache/master` that runs the `Pull Request Labeler` workflow. ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenCode with MiniMax-M3 Closes #7598 from bowenliang123/kyuubi-7597-fix-labeler-yaml-indentation. Closes #7597 33ab1ef [Bowen Liang] [KYUUBI #7597][INFRA] Fix labeler.yml YAML parsing error under actions/labeler v7 Authored-by: Bowen Liang <liang.bowen.123@qq.com> Signed-off-by: Bowen Liang <liang.bowen.123@qq.com> (cherry picked from commit a8f82a0) Signed-off-by: Bowen Liang <liang.bowen.123@qq.com>
…s/labeler v7 Closes #7597 ### Why are the changes needed? `actions/labelerv7` fails to parse `.github/labeler.yml` and aborts the workflow before applying any labels: ``` Run actions/labelerv7 The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api Error: YAMLException: deficient indentation (24:7) 21 | "kind:build": 22 | - changed-files: 23 | - any-glob-to-any-file: [ 24 | '.dockerignore', ------------^ 25 | '.rat-excludes', 26 | '.scalafmt', ``` Every `any-glob-to-any-file: [ ... ]` / `all-globs-to-any-file: [ ... ]` block fails with the same error, so the job bails out and no `kind:*` / `module:*` labels are applied to PRs. Triage has been silently broken since the v7 bump in #7583. **Root cause.** The file uses YAML flow-style sequences (`[ ... ]`) split across multiple lines, with continuation lines indented at 6 spaces while the opening `[` sits at column 27. YAML 1.2 (and `js-yaml4`, which `actions/labelerv7` depends on) requires flow-sequence continuation lines to be indented at least one column past the line containing the opening bracket — hence `deficient indentation`. The format was introduced in #5874 (commit `7e96dc7bc9`, 2023-12-19) when the action was bumped from v4 to v5. v5/v6 bundled an older `js-yaml` that did not strictly enforce the indentation rule, which is why the bug stayed latent for ~2 years. ### What does this PR do? Rewrite every `any-glob-to-any-file: [ ... ]` and `all-globs-to-any-file: [ ... ]` block in `.github/labeler.yml` as a standard YAML block-style sequence. Same 22 labels, same glob sets — no semantic change. The file now parses cleanly under strict YAML 1.2 and is forward-compatible with future `actions/labeler` releases. Also dropped: - the trailing whitespace on line 48 of the old file (under the `kind:deploy` block) - the inconsistent 6-space indent under `module:spark`, which was the only block at odds with the rest of the file ### How was this patch tested? 1. Parsed the rewritten file with `python3 -c "import yaml; yaml.safe_load(open('.github/labeler.yml'))"` — succeeds. 2. Cross-checked label keys and glob counts against the pre-change file: 22 labels preserved, identical glob counts per label. 3. Spotless does not process YAML files (see `pom.xml` — only `java`, `scala`, `pom`, `python`, `markdown` are in scope), so no format step is required for this change. End-to-end verification will happen on the next PR opened against `apache/master` that runs the `Pull Request Labeler` workflow. ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenCode with MiniMax-M3 Closes #7598 from bowenliang123/kyuubi-7597-fix-labeler-yaml-indentation. Closes #7597 33ab1ef [Bowen Liang] [KYUUBI #7597][INFRA] Fix labeler.yml YAML parsing error under actions/labeler v7 Authored-by: Bowen Liang <liang.bowen.123@qq.com> Signed-off-by: Bowen Liang <liang.bowen.123@qq.com>
…s/labeler v7 Closes #7597 ### Why are the changes needed? `actions/labelerv7` fails to parse `.github/labeler.yml` and aborts the workflow before applying any labels: ``` Run actions/labelerv7 The configuration file (path: .github/labeler.yml) was not found locally, fetching via the api Error: YAMLException: deficient indentation (24:7) 21 | "kind:build": 22 | - changed-files: 23 | - any-glob-to-any-file: [ 24 | '.dockerignore', ------------^ 25 | '.rat-excludes', 26 | '.scalafmt', ``` Every `any-glob-to-any-file: [ ... ]` / `all-globs-to-any-file: [ ... ]` block fails with the same error, so the job bails out and no `kind:*` / `module:*` labels are applied to PRs. Triage has been silently broken since the v7 bump in #7583. **Root cause.** The file uses YAML flow-style sequences (`[ ... ]`) split across multiple lines, with continuation lines indented at 6 spaces while the opening `[` sits at column 27. YAML 1.2 (and `js-yaml4`, which `actions/labelerv7` depends on) requires flow-sequence continuation lines to be indented at least one column past the line containing the opening bracket — hence `deficient indentation`. The format was introduced in #5874 (commit `7e96dc7bc9`, 2023-12-19) when the action was bumped from v4 to v5. v5/v6 bundled an older `js-yaml` that did not strictly enforce the indentation rule, which is why the bug stayed latent for ~2 years. ### What does this PR do? Rewrite every `any-glob-to-any-file: [ ... ]` and `all-globs-to-any-file: [ ... ]` block in `.github/labeler.yml` as a standard YAML block-style sequence. Same 22 labels, same glob sets — no semantic change. The file now parses cleanly under strict YAML 1.2 and is forward-compatible with future `actions/labeler` releases. Also dropped: - the trailing whitespace on line 48 of the old file (under the `kind:deploy` block) - the inconsistent 6-space indent under `module:spark`, which was the only block at odds with the rest of the file ### How was this patch tested? 1. Parsed the rewritten file with `python3 -c "import yaml; yaml.safe_load(open('.github/labeler.yml'))"` — succeeds. 2. Cross-checked label keys and glob counts against the pre-change file: 22 labels preserved, identical glob counts per label. 3. Spotless does not process YAML files (see `pom.xml` — only `java`, `scala`, `pom`, `python`, `markdown` are in scope), so no format step is required for this change. End-to-end verification will happen on the next PR opened against `apache/master` that runs the `Pull Request Labeler` workflow. ### Was this patch authored or co-authored using generative AI tooling? Assisted-by: OpenCode with MiniMax-M3 Closes #7598 from bowenliang123/kyuubi-7597-fix-labeler-yaml-indentation. Closes #7597 33ab1ef [Bowen Liang] [KYUUBI #7597][INFRA] Fix labeler.yml YAML parsing error under actions/labeler v7 Authored-by: Bowen Liang <liang.bowen.123@qq.com> Signed-off-by: Bowen Liang <liang.bowen.123@qq.com>
Bumps actions/labeler from 6 to 7.
Release notes
Sourced from actions/labeler's releases.
Commits
bf12e9bfeat: migrate to ESM and update dependencies (#949)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)