-
Notifications
You must be signed in to change notification settings - Fork 1
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
Question - initial_value responder not identifying missing values as expected #18
Comments
hey @xuanxu i'm still fighting with this responder. Sometimes
for us it's not working at all . i tried adding
I also don't understand what heading does in this responder. i will update the docs once i understand how this should work and be configured. many thanks! |
In your example the value names are missing a initial_values:
values:
- version-submitted:
- warn_if_empty: true
- target-repository:
- warn_if_empty: true
- author-handle:
- warn_if_empty: true As for the ropensci code, I guess the case where they are missing the |
About the heading: it is used to configure the visible text to use if a value is missing and has to be created. initital_values:
values:
- author-handle
- heading: Your Github Username Will add this:
if you don't set the heading, the name of the value will be used:
|
ok this makes sense. @xuanxu i suspect if i understood the syntax rules i'd ask you less questions 😆 So below you have provided me with this:
how do i know when i need a so is the rule for the above that for the version-submitted key (in the hidden html comment), if i want to define settings for that key, i'd always need a values:
- version-submitted:
- warn_if_empty: true Is it true that - that colon Next question: example - is this valid: values:
- version-submitted:
warn_if_empty: true Many thanks. i'm going to test this out now |
ok it seems like that |
In the config file, i have this line: which i thought sets up an initial_Value responder
my understanding of that responder is that it will check to ensure there is a value in each of the with the following tags that is added to the responder config:
- version-submitted
- target-repository
- author-handle
i'm curious why it's not flagging the missing values when i create an issue.
the issue looks like this:
The text was updated successfully, but these errors were encountered: