Skip to content

[STAL-3099] Remove env and service#47

Merged
juli1 merged 1 commit intomainfrom
juli1/STAL-3099
Nov 4, 2024
Merged

[STAL-3099] Remove env and service#47
juli1 merged 1 commit intomainfrom
juli1/STAL-3099

Conversation

@juli1
Copy link
Contributor

@juli1 juli1 commented Nov 2, 2024

What problem are you trying to solve?

Remove service and env as we do not want to have the user specify them.

Solution

Remove them from the GitHub action.

Testing

See here https://github.com/DataDog/datadog-static-analyzer-test-repo/actions/runs/11664561121/job/32475339303

Notes

Should be tested and merged only after this PR is merged.

@juli1 juli1 merged commit 71c28f1 into main Nov 4, 2024
@tcs-cclaflin
Copy link

Stumbled across this when looking into why we suddenly started getting warnings in our workflow runs this morning:

Warning: Unexpected input(s) 'dd_service', 'dd_env', valid inputs are ['entryPoint', 'args', 'dd_api_key', 'dd_app_key', 'dd_site', 'cpu_count', 'enable_performance_statistics', 'debug', 'sca_enabled', 'secrets_enabled', 'subdirectory', 'architecture', 'diff_aware']

Probably should document this change somewhere or have a deprecation message for those that have already implemented this action.

@jasonforal
Copy link
Contributor

@tcs-cclaflin thanks for reporting that -- we'll have this fixed by #48.

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.

4 participants