Skip to content
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

Add input deprecation warning #48

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Add input deprecation warning #48

merged 1 commit into from
Nov 5, 2024

Conversation

jasonforal
Copy link
Contributor

In DataDog/datadog-static-analyzer#545, we removed support for the DD_SERVICE and DD_ENV environment variables in the GitHub action.

In #47, we stopped passing these variables in and removed dd_service and dd_env as GitHub action inputs.

Users may be using an unpinned version of this action within their own workflows, and may have manually configured dd_service and dd_env. They currently will receive errors in their workflows because the inputs are not defined.

This PR adds these inputs back but annotates them with a "deprecationMessage".

@jasonforal jasonforal changed the title Add GitHub action env variable deprecation warning Add input deprecation warning Nov 5, 2024
@jasonforal jasonforal merged commit 06d501a into main Nov 5, 2024
1 check passed
@jasonforal jasonforal deleted the jf/deprecation branch November 5, 2024 09:31
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.

2 participants