00mjk / glo-action-assign-card

GitHub action to add an assignee to a Glo Boards card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub action to add an assignee to Glo Boards cards

Use this action to add an assignee to cards on a Glo Board. The action requires an array of objects with board and card IDs, and the assignee username 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 assignee input is the username of a user that already is a member of the Glo Board.

Usage

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-assign-card@v1
      with:
        authToken: ${{ secrets.GLO-PAT }}
        cards: '${{ steps.glo-parse.outputs.cards }}'
        assignee: 'username'
      id: glo-assign

About

GitHub action to add an assignee to a Glo Boards card

License:MIT License


Languages

Language:JavaScript 68.1%Language:TypeScript 31.9%