Skip to content

Add input deprecation warning#48

Merged
jasonforal merged 1 commit intomainfrom
jf/deprecation
Nov 5, 2024
Merged

Add input deprecation warning#48
jasonforal merged 1 commit intomainfrom
jf/deprecation

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 requested a review from amaanq November 5, 2024 09:28
@jasonforal jasonforal requested review from a team as code owners November 5, 2024 09:28
@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
@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