-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Create works but update doesn't? #364
Comments
Hi @PureKrome
I think find-comment should be able to find that. It's just searching the text of the comment body. The markdown rendering should have nothing to do with it. If you show me your workflow and perhaps a log of the run we might be able to work out why it doesn't work for you. |
👋🏻 Hi @peter-evans - thanks heaps for prompt reply. Legend! Here's my existing workflow:
So there's nothing crazy here. I'm not using |
@PureKrome It's deliberate that the functionality of So if you want replace behaviour, please use |
Hi there 👋🏻
I'm testing this GH Action out and I can't seem to Update an existing comment which this Action created. It keeps creating the a new comment each time.
The content of the comment is from a markdown file -> code coverage results. These are usually dynamic with each PR-commit that is pushed up.
I'm guessing this might be because it cannot find the hidden html comment? my markdown content overrides it?
Suggestion: New Action inputs
secret-key
secret-html-hidden-value
(which ends up becoming<!-- secret-html-hidden-value -->
example:
I don't care what that value is. it's just something which should NOT be part of my markdown file or the body text/content i manually provide.
This means we wouldn't have use your
find-comment
action.Maybe the default is
empty string
so nothing is pre-pended? and if the value is provided then it is pre-pended and wrapped in the<!-- -->
html comment element.The text was updated successfully, but these errors were encountered: