gitlab-mr-annotate

The plugin allows for easy applying labels to GitLab merge requests

Arguments

  • GIT_CONTEXT * - The name of the git provider context you can see on the integrations page.
  • LABELS * - The comma separated list of labels you would like to apply to the merge request
  • MERGE_REQUEST_ID * - The ID of the merge request. Optional (the default value is formed from Codefresh variables)
  • PROJECT_ID * - The ID of the GitLab project. Optional (the default value is formed from Codefresh variables)
    version: '1.0'
steps:
  AnnotateMR:
    type: gitlab-mr-annotate
    arguments:
      GIT_CONTEXT: '${{GIT_CONTEXT}}'
      LABELS: '${{LABELS}}'
      PROJECT_ID: '${{PROJECT_ID}}'
      MERGE_REQUEST_ID: '${{MERGE_REQUEST_ID}}'

  
github.com
Alex Kogan
Sep 18, 2019