Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide reference ref for benchmark action and make it less spammy #3716

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

WorldSEnder
Copy link
Member

@WorldSEnder WorldSEnder commented Aug 23, 2024

Description

It's apparently not possible to also provide a PR number for the comment to target, since that is automically determined by the action (and wrong for workflow_run workflows)

See also: benchmark-action/github-action-benchmark#250

Currently, all comments target the master commit, because the workflow_run action runs in the context of the main branch. Fixed by providing a ref.

Checklist

  • I have reviewed my own code

it's apparently not possible to also provide a PR number for the comment
to target, since that is automically determined by the action (and wrong
for workflow_run workflows)

See also: benchmark-action/github-action-benchmark#250
@WorldSEnder WorldSEnder added the A-ci Area: The continuous integration label Aug 23, 2024
github-actions[bot]
github-actions bot previously approved these changes Aug 23, 2024
This check was removed in yewstack#2774 for simplicity, bring it back to spam less
@WorldSEnder WorldSEnder changed the title Provide reference ref for benchmark action Provide reference ref for benchmark action and make it less spammy Aug 23, 2024
@WorldSEnder
Copy link
Member Author

Tested if applying the performance label triggers the workflow, then manually canceled to check that no summary is posted ;)

Copy link
Member

@ranile ranile left a comment

Choose a reason for hiding this comment

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

Let's merge and find out if it works

@WorldSEnder WorldSEnder merged commit aecde4b into yewstack:master Aug 23, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants