Skip to content

v7labs/update-linear-labels-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Update Linear labels action

This action allows to add specified labels to a linear issue.

Inputs

label_name

Required Name of the label to add.

branch_name

Required Name of the branch assotiated with Linear issue. This is used to find assotiated Linear ticket (branch name should match one generated by Linear).

linear_token

Required Access token for Linear API.

error_exit_code

Required Exit code to use when an error occurs. Default: 1. This can be set to 0 to make action pass even if label couldn't be set. Please check the stdout to see what went wrong.

Example usage

uses: v7labs/update-linear-labels-action@v1
with:
  label_name: "Backend"
  branch_name: "${{ github.head_ref }}"
  linear_token: "${{ secrets.LINEAR_TOKEN }}"
  error_exit_code: 0