GitHub Actions
GitKraken Boards and GitKraken Timelines has sunset at the end of 2022. The below information and features may be out of date. Please read our full announcement and FAQ to learn more.
GitHub Actions for GitKraken Boards
You can now automate the manipulation of cards on your GitKraken Boards using GitHub Actions. Links to GitKraken Boards cards from within a Pull Request description or commit message can trigger actions such as:
- Move card(s) to any column on your board
- Create a card
- Add a label to a card(s)
- Assign a user to a card(s)
- Add a comment to a card(s)
Actions
Parse Glo Links |
Parse your Pull Request description for links to cards |
Change Column |
Change the column of a card(s) |
Add Label |
Add an existing label to a card(s) |
Assign User |
Assign a GitKraken Boards user to a card(s) |
Add Comment |
Add a comment to a card(s) |
View our actions page for the most up-to-date content.
Example
Move linked GitKraken Boards cards to the Deployed column when a PR is merged on GitHub.
- Create a Personal Access Token (PAT) in your GitKraken account. Actions will need read/write access only.
Note: All actions taken by this user will automatically update the cards in GitKraken Boards.
- Add the Access Token for the PAT as the value for a secret in your repository settings on GitHub.
- Set up a workflow for your repository on GitHub that will trigger the necessary actions (you will add the secret name as the authToken).
on: pull_request
name: Glo actions
jobs:
build:
name: Glo actions
runs-on: ubuntu-latest
steps:
- uses: Axosoft/glo-action-parse-links@v1
id: glo-parse
- uses: Axosoft/glo-action-move-card@v1
with:
authToken: ${{ secrets.GLO-PAT }}
cards: '${{ steps.glo-parse.outputs.cards }}'
column: 'Deployed'
id: glo-move
- Add a link to your GitKraken Boards card in your PR description.
That’s it! The Actions will now automatically update the linked GitKraken Boards card from your Pull Request.