Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Add GitHub Actions for PR labeling and automatic title prefixing #39

Merged
merged 4 commits into from
Oct 10, 2024

Conversation

skytin1004
Copy link
Collaborator

@skytin1004 skytin1004 commented Oct 10, 2024

Purpose

I've added two GitHub Actions: one for labeling pull requests based on file changes, and another for automatically adding a title prefix to issues or PRs based on the label applied.

Description

  • Added a GitHub Action for labeling pull requests based on modified paths (labeler-pr.yml).
  • Added a GitHub Action for automatically adding a title prefix to issues or pull requests when specific labels are applied (label-title-prefix.yml).
  • The title prefixes are dynamically generated based on the applied label (e.g., "Docs", "Build", "Translator").

Related Issue

No related issues.

Does this introduce a breaking change?

When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.

  • Yes
  • No

Type of change

  • Bugfix
  • Feature
  • Code style update (e.g., formatting, local variables)
  • Refactoring (no functional or API changes)
  • Documentation content changes
  • Other... Please describe: GitHub Actions for PR labeling and title prefixing

Checklist

Before submitting your pull request, please confirm the following:

  • I have thoroughly tested my changes: I confirm that I have run the code and manually tested all affected areas.
  • All existing tests pass: I have run all tests and confirmed that nothing is broken.
  • I have added new tests (if applicable): I have written tests that cover the new functionality introduced by my code changes.
  • I have followed the Co-op Translators coding conventions: My code adheres to the style guide and coding conventions outlined in the repository.
  • I have documented my changes (if applicable): I have updated the documentation to reflect the changes where necessary.

Additional context

These new GitHub Actions will help streamline the pull request process and enforce a more structured approach to labeling and titling pull requests and issues.

@skytin1004 skytin1004 self-assigned this Oct 10, 2024
@skytin1004 skytin1004 closed this Oct 10, 2024
@skytin1004 skytin1004 reopened this Oct 10, 2024
@skytin1004
Copy link
Collaborator Author

I have reviewed the changes and everything looks good.

@skytin1004 skytin1004 merged commit dbcd5ab into Azure:main Oct 10, 2024
1 check passed
@skytin1004 skytin1004 changed the title Add GitHub Actions for PR labeling and automatic title prefixing Build: Add GitHub Actions for PR labeling and automatic title prefixing Oct 10, 2024
@skytin1004 skytin1004 deleted the labeler branch October 10, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant