Skip to content
axosoft

GitHub Action

Glo Add Label To Cards

v1 Latest version
Use latest version
axosoft

Glo Add Label To Cards

GitHub action to add a label to Glo Boards cards

Installation

Copy and paste the following snippet into your .yml file.

- name: Glo Add Label To Cards
  uses: Axosoft/glo-action-label-card@v1
Learn more about this action in Axosoft/glo-action-label-card
Choose a version

GitHub action to add a label to Glo Boards cards

Use this action to add a label to cards on a Glo Board. The action requires an array of objects with board and card IDs, and the label name as inputs.

Requirements

The action requires an auth token in the form of a PAT that you can create in your GitKraken account. See the Personal Access Tokens page on our support site.

This token should be stored in your GitHub repo secrets (in repo Settings -> Secrets).

Inputs

The cards input is an array of objects that contain the board ID and card ID pairs:

interface ICard {
  boardId: string;
  cardId: string;
}

The labelName input is the name of a label that already exists in the Glo Board.

Examples

Add a step in your workflow file to perform this action and use the output of the glo-action-parse-links action:

    steps:
    - uses: Axosoft/glo-action-parse-links@v1
      id: glo-parse

    - uses: Axosoft/glo-action-label-card@v1
      with:
        authToken: ${{ secrets.GLO-PAT }}
        cards: '${{ steps.glo-parse.outputs.cards }}'
        label: 'Released'
      id: glo-label