RMI-PACTA / actions

Actions for GitHub workflows
4 stars 0 forks source link

Comment with history action fails with unclear reasons #74

Closed AlexAxthelm closed 4 months ago

AlexAxthelm commented 5 months ago

Example: https://github.com/RMI-PACTA/workflow.transition.monitor/actions/runs/8514245969/job/23320575375?pr=290#step:7:216

One hypothesis, GH has a documented, but not consistently enforced character limit for comments (65536 chars).

Possible workaround: preserve comment history externally, and r/w hitory to external file, while keeping last N entries in the current history table.

AlexAxthelm commented 4 months ago

One thought I had was to attach the history.json to the somment, but it appears that the GH comment API doesn't allow attachments. 🤔 https://github.com/isaacs/github/issues/1133