Open richja opened 1 year ago
In my case, the comment isn't hidden at run time, I get the warning, and it doesn't get hidden by the end of the action run. It seems that hide: true
as documented in the readme is broken:
I'm using
- if: steps.stats.outputs.changes <= 1000
uses: marocchino/sticky-pull-request-comment@v2
with:
header: lockfile # Unique identifier for the comment
hide: true
- if: steps.stats.outputs.changes > 1000
uses: marocchino/sticky-pull-request-comment@v2
with:
header: lockfile # Unique identifier for the comment
recreate: true
message: |
## ⚠️ Large diff for package-lock.json
Live example https://togithub.com/pixiebrix/pixiebrix-extension/pull/7734#issuecomment-1968463512 Log (for the next 30 days) https://github.com/pixiebrix/pixiebrix-extension/actions/runs/8077604169/job/22068226398?pr=7734
Similar to #559, when using
hide: true
and comment is already hidden, I am getting a warning: Comment body cannot be blankWarning doesn't show up when a comment is not hidden yet.