Skip to content

Let the Linear label be configured, by id or by name - #124

Merged
irskep merged 2 commits into
mainfrom
linear-label-name
Oct 19, 2026
Merged

irskep merged 2 commits into
mainfrom
linear-label-name

Conversation

@irskep

@irskep irskep commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

I'm not 100% sure you'll want to accept this. Curious what you think.

I experimented with calling our label "Dependency Bump" instead of "Dependicus" because most teams don't care about the name of the tool that creates the tickets. So using "Dependency Bump" helps them put the ticket in context more than "Dependicus."

On the other hand, the label is the thing the tool uses to figure out which tickets were created by it. Using a more general label might obfuscate that.


Adds linear.label. Dependicus puts that label on every Linear issue it files and uses it to find them again. It defaults to the name "Dependicus", so nothing changes for a config that does not set it.

The label can be given by id or by name:

linear: { label: { id: 'a1b2c3d4-…' } }
linear: { label: { name: 'Dependency Bump' } }

By id, Dependicus uses the label as is. Nothing is looked up or created, so a read-only API key is enough for a dry run. A name lookup is workspace-wide and ignores case, so an id also avoids picking a team label with the same name.

By name, Dependicus finds the label in the workspace and creates it if it is missing. That part needs an API key with write access.

A workspace that already has a label for dependency work can use it instead of getting a second one.

🤖 Generated with Claude Code

`linear.labelName` sets the label Dependicus puts on its Linear issues
and finds them by. It defaults to "Dependicus", as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@irskep
irskep requested review from mblair and srubin October 19, 2026 17:31

@srubin srubin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does anything break if you change the label name for an existing Dependicus deployment, i.e., would it no longer be able to find existing issues?

@irskep

irskep commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

That's correct, I think it would fail to find existing tickets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@irskep irskep changed the title Let the Linear label name be configured Let the Linear label be configured, by id or by name Oct 19, 2026
@irskep

irskep commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

Tweaked so you can provide a name or an ID, and do an in-place rename.

@srubin srubin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a reasonable thing for teams to be able to control!

@irskep
irskep merged commit 43d3f77 into main Oct 19, 2026
24 checks passed
@irskep
irskep deleted the linear-label-name branch October 19, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants