-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Annotations from composite actions are not correctly created #1742
Copy link
Copy link
Closed
Labels
Runner BugBug fix scope to the runnerBug fix scope to the runnerbugSomething isn't workingSomething isn't workingcomposite
Description
Describe the bug
Only a single annotation gets created in composite actions. Every single annotation (error, warning, notice) with the exception of the last one gets ignored
To Reproduce
Steps to reproduce the behavior:
- Create a simple composite actions that generates annotations
name: 'Annotation example'
description: Test annotations
runs:
using: "composite"
steps:
- run: echo Hello there once!
shell: bash
- name: Testing the Error Workflow Command
run: echo "::error::Testing error"
shell: bash
- run: echo Hello there
shell: bash
- name: Testing the Error Workflow Command
run: echo "::error::Testing error"
shell: bash
- name: Testing the Error Workflow Command
run: echo "::warning::Testing warning"
shell: bash
- name: Testing the Error Workflow Command
run: echo "::notice::Testing notice"
shell: bash
- Run the workflow from another repository (or locally)
Expected behavior
Every single annotation gets created.
Runner Version and Platform
Version of your runner? 2.288.1
Tested using Linux but probably busted for everything
What's not working?
Here is an example run: https://github.com/konradpabjan/Testing2/actions/runs/1958916121
Currently at most only one gets created and it's always the last one
Job Log Output
☝️ Only the notice annotations is created while the other annotations do not show up. In the logs though the behavior is expected
Runner and Worker's Diagnostic Logs
Not provided since I used hosted for testing, but it should be easy to get with the repro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Runner BugBug fix scope to the runnerBug fix scope to the runnerbugSomething isn't workingSomething isn't workingcomposite

