Skip to content

Add await to summary buffer methods in README#2396

Open
kohtala wants to merge 1 commit intoactions:mainfrom
kohtala:patch-1
Open

Add await to summary buffer methods in README#2396
kohtala wants to merge 1 commit intoactions:mainfrom
kohtala:patch-1

Conversation

@kohtala
Copy link
Copy Markdown

@kohtala kohtala commented May 7, 2026

The documentation does not tell the methods are async and require await to be run.

Copilot AI review requested due to automatic review settings May 7, 2026 16:29
@kohtala kohtala requested a review from a team as a code owner May 7, 2026 16:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates @actions/core documentation to accurately reflect that the job summary buffer methods that touch the filesystem are asynchronous and should be awaited.

Changes:

  • Updated the README job summary “buffer utilities” examples to use await core.summary.clear().
  • Updated the README job summary “buffer utilities” examples to use await core.summary.write({overwrite: true}).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants