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

Automatic Linear x Github PR integration #3157

Closed
arboleya opened this issue Sep 12, 2024 · 3 comments · Fixed by #3220
Closed

Automatic Linear x Github PR integration #3157

arboleya opened this issue Sep 12, 2024 · 3 comments · Fixed by #3220
Assignees
Labels
chore Issue is a chore feat Issue is a feature

Comments

@arboleya
Copy link
Member

arboleya commented Sep 12, 2024

Problem

When integrating with Linear, PRs now must keep track of two things:

  • GitHub Issues
  • Linear Issues

One would expect Linear to follow this automatically, but it doesn't.

Then, we end up with Github Issues vs. Linear Issues, which is not only noisy but also cumbersome to do manually.

pr-linear

Desires

  • Have this working automatically out of the box
  • Keep the Linear magic words out of the PR description

Solution

Implement workflow automation that will:

  • Find all GH issues the PR is closing
  • Find their related Linear issue IDs
  • Modify the PR description, adding Linear magic words as comments (invisible!)
<!-- Closes to TS-1, TS-2, TS-N -->
<!-- Part of to TS-5, TS-7, N -->

Premisses:

  • GitHub issues must be informed one per line (predictable parsing)
  • Linear Comments can contain multiple issues per line (it doesn't matter)

Docs:

Github Action

The final solution must be a GitHub action that all other repos can reuse; it can go here:

@arboleya
Copy link
Member Author

Thanks to @nedsalk for the ideas and discussions around this. ❤️

@arboleya arboleya added feat Issue is a feature chore Issue is a chore labels Sep 12, 2024
@arboleya

This comment was marked as off-topic.

@nedsalk nedsalk self-assigned this Sep 13, 2024
@nedsalk
Copy link
Contributor

nedsalk commented Sep 14, 2024

Closing to test out integration with linear - will reopen immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issue is a chore feat Issue is a feature
Projects
None yet
2 participants