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.
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.
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.
-
Generate the
npm-repox-token
on repox. -
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
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