Add a configuration to automatically label pull requests#215
Merged
Conversation
This includes updating the dependabot configuration, adding a new `label-prs.yml` GitHub Actions workflow, and adding a suitable configuration file for the actions/labeler action used by the aforementioned workflow.
jsf9k
approved these changes
Aug 28, 2025
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](actions/labeler@v5...v6) --- updated-dependencies: - dependency-name: actions/labeler dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jsf9k
approved these changes
Sep 8, 2025
dav3r
approved these changes
Sep 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🗣 Description
This pull request adds a configuration leveraging GitHub Actions to automatically label pull requests based on the contents of the pull request. This includes a new GitHub Actions workflow and a configuration file for the [actions/labeler] action.
💭 Motivation and context
This automates some of the tedium of labeling pull requests to, for now, only requiring manual intervention for less strictly defined labels like
bug,improvement,security, etc. instead of for all changes in a pull request. This will help ensure that what labels we can are correctly applied if applicable.🧪 Testing
Automated tests pass. I did some testing in my personal GitHub Actions testing repository and a prototype version of this was added in cisagov/cyhy_amis#883 with success on subsequent pull requests in that repository.
✅ Pre-approval checklist