Annotations, how to create them? #26703
-
As title. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 1 reply
-
You can use the following Workflow commands to create W** arning and Error** annotations in the workflow: for example:
for example:
NOTE: currently, GitHub Actions does not support too much annotations in a workflow run, the below is a summary of the limitation:
|
Beta Was this translation helpful? Give feedback.
-
thanks for the reply. is there a simple INFO annotations? |
Beta Was this translation helpful? Give feedback.
-
Sorry, what do you mean about “a simple INFO annotations”? I’m not very clear your meaning. |
Beta Was this translation helpful? Give feedback.
-
it’s not an error, it’s not a warning, it’s a simple message that says: “Hey, COOL, your build is under 400KB.” It’s an informative message, no warning, no errors. |
Beta Was this translation helpful? Give feedback.
-
Currently, we seems only can set Error or Warning messages to display on the Annotations section in a workflow run. Actually I’m not sure if it supports other types messages, such as such as Information or Notice. I have reported this question to the appropriate engineering team for further discussion. If they have any response, I will notify you in time, and sometimes the appropriate engineers may directly reply you here. |
Beta Was this translation helpful? Give feedback.
-
love this team! thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry for late response. According to the reply from the appropriate engineering team, currently only Error and Warning are supported on the Annotations. Maybe, a as workaround, you can consider using Warning to show the information you want. If your projects really need more message types on Annotations , I recommend you directly report a feature request here. That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions. |
Beta Was this translation helpful? Give feedback.
-
I’m so impressed for the service, I really appreciate you answer. |
Beta Was this translation helpful? Give feedback.
-
For any googlers arriving here (like me): |
Beta Was this translation helpful? Give feedback.
-
Thanks for updating this thread with new info, future searchers appreciate it 🥰 |
Beta Was this translation helpful? Give feedback.
-
Thanks! Is there any way to get the text of annotation from the previously finished step? |
Beta Was this translation helpful? Give feedback.
You can use the following Workflow commands to create W** arning and Error** annotations in the workflow:
◆ Setting a warning message
for example:
◆ Setting an error message
for example:
NOTE: currently, GitHub Actions does not support too much annotations in a workflow run, the below is a summary of the limitation: