Breaking Change
#283 No variable becomes embedded in comment by default.
Feature
#283 Add the configuration field embeded_var_names
to post and exec config
post:
hello:
template: "Hello {{.Vars.name}}"
embedded_var_names:
- name # Only `.Vars.name` is embedded into the comment
exec:
hello:
- when: true
template: "Hello {{.Vars.name}}"
embedded_var_names:
- name # Only `.Vars.name` is embedded into the comment
Add the configuration field embeded_var_names
to post and exec config
github-comment embedds the metadata into the comment to hide the comment by the metadata.
With github-comment v3, all variables are embedded into the comment, but sometimes this behaviour is undesirable.
With github-comment v4, only variables specified by embedded_var_names
are embedded into the comment.