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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ You can set the following parameters for Static Analysis.
1. Diff-aware scanning only scans the files modified by a commit when analyzing feature branches. Diff-aware is enabled by default. To disable diff-aware scanning, set the GitHub action `diff_aware` parameter to `false`.
2. Secrets scanning is in private beta. To enable secrets scanning, please contact your Datadog customer success manager.

### Deprecated Inputs
The following action inputs have been deprecated and no longer have any effect. Passing these in will emit a warning.
* `dd_service`
* `dd_env`

## Customizing rules

Expand Down
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ inputs:
description: "Enable diff aware scanning mode."
required: false
default: "true"
dd_service:
description: "(Deprecated)"
deprecationMessage: "The Datadog service is no longer configurable"
dd_env:
description: "(Deprecated)"
deprecationMessage: "The Datadog env is no longer configurable"
runs:
using: "docker"
image: "docker://ghcr.io/datadog/datadog-static-analyzer:latest"
Expand Down