You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix this, let's add support for the workflow_run event trigger. Benchmarks should be run in the pull_request event and the result json files uploaded as artifacts. When it finishes, it should trigger another workflow that consumes the JSON files as an artifact and runs this action to create/update the comment.
Note, the workflow_run should run for the requested and completed events so it can report running status on comments when the benchmark run starts.
Perhaps add a pr_number input to allow people to manually specify the pr that workflow_run should update.
If no pr_number is available, then we could try to guess which pr from one of the properties of context should be used. Perhaps pick the most recently updated open PR?
See benchmark run here for an example: https://github.com/Polymer/lit-html/pull/1322/checks
The text was updated successfully, but these errors were encountered: