Skip to content

Update labeling action to support pull requests - #48733

Merged
Michael Jolley (michaeljolley) merged 1 commit into
mainfrom
dev/mjolley/pr-labeling
Jun 19, 2026
Merged

Update labeling action to support pull requests#48733
Michael Jolley (michaeljolley) merged 1 commit into
mainfrom
dev/mjolley/pr-labeling

Conversation

@michaeljolley

Copy link
Copy Markdown
Contributor

This pull request updates the auto-labeler.yml GitHub Actions workflow to improve reliability and maintain compatibility. The most important changes are an upgrade to the actions/github-script version and improved error handling when applying labels, ensuring the workflow does not fail due to restricted permissions.

Dependency upgrade:

  • Upgraded actions/github-script from version 7 to version 9 in the Apply area labels with AI step, ensuring continued support and access to the latest features and security updates.

Error handling improvements:

  • Added a try/catch block around the label application logic to gracefully handle cases where the workflow lacks permission to write labels (e.g., due to restricted integration tokens), logging a message and skipping the operation instead of failing the entire workflow.

@michaeljolley
Michael Jolley (michaeljolley) merged commit d31d0ab into main Jun 19, 2026
8 checks passed
@michaeljolley
Michael Jolley (michaeljolley) deleted the dev/mjolley/pr-labeling branch June 19, 2026 00:13
@michaeljolley Michael Jolley (michaeljolley) added Product-Command Palette Refers to the Command Palette utility and removed Product-Command Palette Refers to the Command Palette utility labels Jun 19, 2026
@LegendaryBlair Boliang Zhang (LegendaryBlair) added the Area-GitHub workflow Issues regarding the GitHub workflow and automation label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-GitHub workflow Issues regarding the GitHub workflow and automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants