This action allows to add specified labels to a linear issue.
Required Name of the label to add.
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).
Required Access token for Linear API.
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.
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