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

skip validation if a target or extension is disabled #223

Closed
ASaiAnudeep opened this issue Jul 16, 2024 · 0 comments · Fixed by #255
Closed

skip validation if a target or extension is disabled #223

ASaiAnudeep opened this issue Jul 16, 2024 · 0 comments · Fixed by #255

Comments

@ASaiAnudeep
Copy link
Member

ASaiAnudeep commented Jul 16, 2024

if condition evaluates to false, we shouldn't validate the given target or extension.

{
  "name": "slack",
  "enable": "true",
  "condition": "typeof {process.env.SLACK_WEBHOOK} === 'string'",
  "inputs": {
    "url": "{SLACK_WEBHOOK}",
    "title": "{TITLE} - {ENVIRONMENT}"
  }
}
@ASaiAnudeep ASaiAnudeep linked a pull request Oct 20, 2024 that will close this issue
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 a pull request may close this issue.

1 participant