GithubHelp home page GithubHelp logo

sonarsource / gh-action-lt-backlog Goto Github PK

View Code? Open in Web Editor NEW
2.0 17.0 2.0 18.11 MB

Automate GitHub backlog and Kanbans

License: GNU Lesser General Public License v3.0

TypeScript 98.74% Shell 1.26%
languages-team

gh-action-lt-backlog's Introduction

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 branch.

v1, v2, ... vn

Versioned release branches. Always use the latest. Extensions are allowed; breaking changes requires creating a new version branch.

All actions should be consumed from these branches.

Actions

LogPayload - Log payload to console

PullRequestClosed - Move card after merging a pull request

PullRequestCreated - Create Jira Issue for PR without issue reference

RequestReview - Move card when requesting review and assign it to the reviewer

SubmitReview - Move card after submitting a review

ToggleLockBranch - Lock or Unlock branch to prevent merge of PRs.

Development notes

Setup Repox authentication token

  1. Generate the npm-repox-token on repox.

  2. Add the following line in .npmrc in your HOME folder:

    If npm-repox-token is base64 encoded:

    //repox.jfrog.io/artifactory/api/npm/npm/:_auth = <npm-repox-token>

    If not:

    //repox.jfrog.io/artifactory/api/npm/npm/:_authToken = <npm-repox-token>

    More info: https://docs.npmjs.com/cli/v9/configuring-npm/npmrc#auth-related-configuration

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.