-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mix of pipeline and job level tags does not tag GHA job #1296
Comments
Hi @jmeickle-theaiinstitute ! There are some limitations around adding custom tags to GitHub jobs. We have some docs related to this. The TLDR is that if the job name is changed using the Could this be whats going on here? 👀 |
I've tried every possible combination of job name appearing anywhere in datadog or CICD. It's also silently failing to send tags to jobs which are not part of a matrix run. Both when tags are set as env variables, and when tags are attempted to be sent via datadog-ci, regardless of whether DD_GITHUB_JOB_NAME is provided or not provided. [edit] Worth noting, my jobs are part of a reusable workflow triggered by a parent job |
Hi @benjamin-cribb-jane , we recently had a bug that caused GitHub jobs' custom tags not to be added. We think that what might've happened is this:
Hopefully it works now! 🤞 |
hey did you try those steps @benjamin-cribb-jane ? 😄 |
Bug description
In Github Actions, when running this command in a job:
The Github Actions step output is:
(That is, it runs twice successfully)
This is a case where we have one pipeline with two parallel jobs, both running these tagging commands. Using the example above,
repro
shows up as a tag on the pipeline butjobrepro
does not show up as a tag on the job (in any run).Describe what you expected
Either the
datadog-ci
tool should tag the data, or it should fail if this is an invalid usageSteps to reproduce the issue
No response
Additional context
v2.33.1 of
datadog-ci
Command
tag
The text was updated successfully, but these errors were encountered: