Skip to content

In workflow run summary, each safe output should show links and be improved to be more regular #51477

Description

@dsyme

The safe_outputs summary emitted to the overall workflow run summary could be improved. See https://github.com/github/github-automation/actions/runs/31282315416#summary-93168938030, copied below, where basic things are missing

  • "Close Pull Request" doesn't indicate which pull request got closed
  • The others could have useful links etc. too

Here's the markdown for a sample safe_outputs summary at the moment

## Pull Request
- **Pull Request**: [#445738](https://github.com/github/github/pull/445738)
- **Branch**: `dsyme/deep-clean/style-mechanical-marketing-eng-01-1786230907-e63eecb8d2c86e99`
- **Base Branch**: `master`
## Safe Output Processing Summary

Processed 8 safe-output message(s).

Status: **success**

Items succeeded: **8**

Items failed: **0**

<details>
<summary>✅ Close Pull Request - Success (Message 1)</summary>

### Close Pull Request

</details>

<details>
<summary>✅ Add Comment - Success (Message 2)</summary>

### Add Comment

**URL:** https://github.com/github/github/pull/444980#issuecomment-5228703116

</details>

<details>
<summary>✅ Add Comment - Success (Message 3)</summary>

### Add Comment

**URL:** https://github.com/github/github/pull/445700#issuecomment-5228703250

</details>

<details>
<summary>✅ Reply To Pull Request Review Comment - Success (Message 4)</summary>

### Reply To Pull Request Review Comment

</details>

<details>
<summary>✅ Add Comment - Success (Message 5)</summary>

### Add Comment

**URL:** https://github.com/github/github/pull/445484#issuecomment-5228703422

</details>

<details>
<summary>✅ Add Comment - Success (Message 6)</summary>

### Add Comment

**URL:** https://github.com/github/github/pull/445502#issuecomment-5228703496

</details>

<details>
<summary>✅ Add Labels - Success (Message 7)</summary>

### Add Labels

**Location:** github/github#445502

**Labels:** [object Object]

</details>

<details>
<summary>✅ Create Pull Request - Success (Message 8)</summary>

### Create Pull Request

**URL:** https://github.com/github/github/pull/445738

**Location:** github/github#445738

**Temporary ID:** `aw_8fNa9FbM`

**Title:** [deep-clean] style-mechanical cleanup in localization and site/contentful packages (`@github/marketing-engineering-reviewers`)

</details>

Also the output just looks different to the other sections like "threat detection" which leads with a <details> which looks nice see image

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions