Skip to content

chore(ci): improve PR, Issues, and release automations #1431

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

Merged
merged 9 commits into from
May 5, 2023

Conversation

dreamorosi
Copy link
Contributor

@dreamorosi dreamorosi commented May 3, 2023

Description of your changes

This housekeeping PR introduces a number of changes related to automating issues and PRs:

  • configures boring-cyborg to add area/* labels to a PRs based on the path of the files that have changed
  • tweaks the configuration of the automation that adds type/* labels to PRs based on the title
  • adds scopes to semantic title validation (i.e. feat(logger) -> logger is a scope)
  • improves the regular expression that checks the issue number in the PR body to include closing keywords
  • improves the automation that labels issues linked to a PR being closed so that it removes any status/* label while adding the status/pending-release one
  • adds a new automation that upon release, will query all closed issues with status/pending-release and label them as status/complete as well as leaving a comment that informs about the release

Finally, it also streamlines the PR template by removing some redundant fields and checklist items.

Once merged this PR closes #133

Related issues, RFCs

Issue number: #133

Checklist

  • My changes meet the tenets criteria
  • I have performed a self-review of my own code
  • I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding changes to the examples
  • My changes generate no new warnings
  • The code coverage hasn't decreased
  • I have added tests that prove my change is effective and works
  • New and existing unit tests pass locally and in Github Actions
  • Any dependent changes have been merged and published
  • The PR title follows the conventional commit semantics

Breaking change checklist

Is it a breaking change?: NO

  • I have documented the migration process
  • I have added, implemented necessary warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this May 3, 2023
@pull-request-size pull-request-size bot added the size/L PRs between 100-499 LOC label May 3, 2023
@dreamorosi dreamorosi linked an issue May 3, 2023 that may be closed by this pull request
7 tasks
@github-actions github-actions bot added the internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) label May 3, 2023
@dreamorosi dreamorosi force-pushed the chore/pr_automation branch from 218e0b1 to b91735c Compare May 4, 2023 20:22
@pull-request-size pull-request-size bot added size/XL PRs between 500-999 LOC, often PRs that grown with feedback and removed size/L PRs between 100-499 LOC labels May 5, 2023
@dreamorosi dreamorosi marked this pull request as ready for review May 5, 2023 07:30
@dreamorosi dreamorosi merged commit c34c108 into main May 5, 2023
@dreamorosi dreamorosi deleted the chore/pr_automation branch May 5, 2023 07:44
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot added do-not-merge This item should not be merged need-issue This PR needs an issue before it can be reviewed/worked on further labels May 5, 2023
@dreamorosi dreamorosi removed do-not-merge This item should not be merged need-issue This PR needs an issue before it can be reviewed/worked on further labels May 5, 2023
@github-actions

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.) size/XL PRs between 500-999 LOC, often PRs that grown with feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance: revisit automation for Issues and PR's
1 participant