Actions to automate GitHub backlog and Kanban
Versioning
master
Master contains current development work and should not be used by production templates.
Reviewed changes should be tested on master
branch before their release to a versioned branche.
v1
, v2
, ... vn
Versioned release branches. Always use latest. Extensions are allowed, breaking changes requires creation of a new version branch.
All actions should be consumed from these branches.
Actions
AssignCardToSender - Assign Kanban card to sender of the event, mainly when moving card from To do
column.
CopyLabelToPR - Copy configured labels from all mentioned issues to PR.
CreateCardForIssue - Create card for issue, mainly when milestoned.
CreateCardForIssueFromLabel - Create card for issue in a project column determined by the issue label. Mainly to organize backlog project.
CreateCardForStandalonePR - Create card for Standalone PR in In progress
column.
CreateNote - Create a card with a note in the configured Kanban column.
CreateRspecIssue - Create issue to update RSPEC after milestone is created.
LogPayload - Log payload to console
MoveCardAfterReview - Move card back to In Progress
or to Review approved
column after review.
MoveCardToReview - Move card to Review in progress
when PR author asks for a review.
ToggleLockBranch - Lock or Unlock branch to prevent merge of PRs.
Development notes
Run Octokit action from PowerShell:
This syntax allows setting environment variables with hyphens in the name:
${env:GITHUB_REPOSITORY}="SonarSource/<YourRepoName>"
${env:INPUT_GITHUB-TOKEN}="ghp_...."
${env:INPUT_PARAM}="True"
${env:INPUT_PARAM-NAME-WITH-HYPHEN}="Value"
clear; node .\dist\ActionName\ActionName.js