Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.

Transform issue tags / title #1

Closed
simenandre opened this issue Jan 6, 2021 · 0 comments
Closed

Transform issue tags / title #1

simenandre opened this issue Jan 6, 2021 · 0 comments

Comments

@simenandre
Copy link
Member

In our case, we have a repository (workflows) which contains all Github Actions workflows for many of our microservice repository.

We utilize a Pull Request flow in our workflows repository (like we do for them all), and we often reference issues in workflows repository in the pull request.

Example:

  1. We create an issue in workflows, let's say its issue #1.
  2. We create a pull request, the pull request title is: fix: huge problem. PR is named pr #2
  3. We squash this PR (commit message is: fix: huge problem (#2).

Since Kopier creates pull requests in all defined repositories in workflows. We will receive many pull requests as such:

Example (we'll call this repository micro)

  • chore(kopier): fix: huge problem (#2) in micro.

There are two issues with this. First of all; #2 references issue 2 in micro. Which is bad.
Secondly, we have issues with not following conventional commits (chore: fix:). IMO, the title for the pull request in micro should be named:

fix(kopier): huge problem (myorg/workflows#2)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant