Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Add ability to define comment using static text #174

Open
skennedy opened this issue Apr 24, 2018 · 1 comment
Open

Add ability to define comment using static text #174

skennedy opened this issue Apr 24, 2018 · 1 comment

Comments

@skennedy
Copy link

Was wondering if you would accept a PR to allow specifying a PR comment using static text, rather than file contents?

This is very much inspired by the slack resource (https://github.com/cloudfoundry-community/slack-notification-resource#parameters), where you can define your message using static text which can be parameterised by the build metadata.

Without this feature, it is surprisingly tricky to write comments incorporating this metadata - because metadata is hidden from task steps by design - so I had to resort to using swce/metadata-resource and then define a task to create the comment file using the metadata. All rather cumbersome.

@crstamps2
Copy link
Collaborator

Yeah, I think this is a great idea. I would accept a PR on it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants