github suzuki-shunsuke/github-comment v4.0.0

latest releases: v6.3.0, v6.3.0-1, v6.2.1...
3 years ago

v3.1.0...v4.0.0
milestone

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.

Don't miss a new github-comment release

NewReleases is sending notifications on new releases.