Skip to content

Commit

Permalink
feat(action): add mongo-uri-env-name input
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Dec 15, 2023
1 parent 98f4853 commit 965baba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ inputs:
default: "2.0.2"
required: true

mongo-uri-env-name:
description: "The name of the environment variable containing the MongoDB URI, will activate the MongoDB Instrumentation feature. Requires the MongoDB integration to be enabled on the organization."
required: false

runs:
using: "composite"
steps:
Expand All @@ -45,6 +49,9 @@ runs:
if [ -n "${{ inputs.upload-url }}" ]; then
RUNNER_ARGS="$RUNNER_ARGS --upload-url=${{ inputs.upload-url }}"
fi
if [ -n "${{ inputs.mongo-uri-env-name }}" ]; then
RUNNER_ARGS="$RUNNER_ARGS --mongo-uri-env-name=${{ inputs.mongo-uri-env-name }}"
fi
# Install the CodSpeedHQ/runner
cargo install --git https://github.com/CodSpeedHQ/runner --branch feat/integrate-mongo-tracer
Expand Down

0 comments on commit 965baba

Please sign in to comment.