mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: skip DataDog upload for dependabot (#7831)
This commit is contained in:
@@ -15,6 +15,11 @@ runs:
|
||||
echo "Not a pull request from the main repo, skipping..."
|
||||
exit 0
|
||||
fi
|
||||
if [[ -z "${{ inputs.api-key }}" ]]; then
|
||||
# This can happen for dependabot.
|
||||
echo "No API key provided, skipping..."
|
||||
exit 0
|
||||
fi
|
||||
npm install -g @datadog/datadog-ci
|
||||
datadog-ci junit upload --service coder ./gotests.xml \
|
||||
--tags os:${{runner.os}} --tags runner_name:${{runner.name}}
|
||||
|
||||
Reference in New Issue
Block a user