Skip to content

Conversation

@cg14823
Copy link
Contributor

@cg14823 cg14823 commented Jul 12, 2022

Fix issue reported in #10 that incorrectly sets the tags for the tests. Using the env var DD_TAGS instead of the terminal option --tags saves us having to parse the input.

@cg14823 cg14823 requested a review from a team as a code owner July 12, 2022 07:59
@cg14823 cg14823 linked an issue Jul 12, 2022 that may be closed by this pull request
Copy link

@alxch- alxch- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the README should be updated too to reflect that change?

@cg14823
Copy link
Contributor Author

cg14823 commented Jul 12, 2022

I guess the README should be updated too to reflect that change?

Why? The interface stays the same the user still needs to do:

  - uses: datadog/junit-upload-github-action@v1
        with:
          api-key: ${{secrets.DD_API_KEY}}
          datadog-site: datad0g.com
          logs: "true"
          files: ./ci/fixtures/
          service: junit-upload-github-action
          env: ci
          tags: "foo:bar,alpha:bravo"

We only changed inside the action how we pass the input tags from the CLI to the env vars.

@cg14823 cg14823 requested a review from alxch- July 12, 2022 08:22
Copy link

@alxch- alxch- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, misread. LGTM.

@cg14823 cg14823 merged commit 768dae7 into main Jul 12, 2022
@cg14823 cg14823 deleted the carlos.gonzalez/fix-tags branch July 12, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for multiple tags

3 participants