Socket
Book a DemoInstallSign in
Socket

@o3r/azure-tools

Package Overview
Dependencies
Maintainers
5
Versions
1591
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@o3r/azure-tools

Various Azure DevOps tools

latest
Source
npmnpm
Version
13.1.0
Version published
Maintainers
5
Created
Source

Otter Azure tools

Super cute Otter!

Description

Stable Version Bundle Size

This module provides a tool to comment a Pull Request on Azure.

Comment Azure PR

Usage

yarn dlx -p @o3r/azure-tools o3r-comment-pr <comment> [options]

or

npx -p @o3r/azure-tools o3r-comment-pr <comment> [options]

The required options include:

  • the access token (--accessToken <accessToken>)
  • the thread identifier (--threadIdentifier <threadIdentifier>)

Additionally, the following environment variables must be provided:

  • SYSTEM_TEAMPROJECT (System.TeamProject in Azure)
  • BUILD_REPOSITORY_NAME (Build.Repository.Name in Azure)
  • SYSTEM_PULLREQUEST_PULLREQUESTID (must be a number) (System.PullRequest.PullRequestId in Azure)
  • SYSTEM_TEAMFOUNDATIONCOLLECTIONURI (System.TeamFoundationCollectionUri in Azure)

Arguments

ArgumentDescription
commentComment to publish on the Azure PR

Options

OptionAliasValue TypeValue OptionsDefault ValueDescription
--accessToken <accessToken>
(Required)
-TstringAccess token (Required)
--commentStatus <commentStatus>-sstringUnknown
Active
Fixed
WontFix
Closed
ByDesign
Pending
ClosedComment status
--mode <mode>-mstringReplace
Add
Skip
AddReplaces thread if existing
Adds a comment to the existing thread
Do anything if thread already exists
--threadIdentifier <threadIdentifier>-IstringThread identifier
--help-hOutput usage information

Example

yarn dlx -p @o3r/azure-tools o3r-comment-pr "[Deployed app]($(url))" -s Closed -I app-link -m Replace -T $(System.AccessToken)

or

npx -p @o3r/azure-tools o3r-comment-pr "[Deployed app]($(url))" -s Closed -I app-link -m Replace -T $(System.AccessToken)

Keywords

otter

FAQs

Package last updated on 22 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts