Update test262.yml
This Pull Request fixes/closes - Update workflows permission to allow forked PRs to have commented results #4105
It changes the following:
Added missing permissions in workflows to allow benchmarks and test262 results to be commented back on forked PRs. Updated test262.yml to ensure test results are posted correctly using create-or-update-comment. Ensured compatibility with the latest GitHub Actions permissions to allow the workflow to interact with PR comments.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 52.65%. Comparing base (6ddc2b4) to head (54c3326).
:warning: Report is 552 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #4206 +/- ##
==========================================
+ Coverage 47.24% 52.65% +5.41%
==========================================
Files 476 487 +11
Lines 46892 51981 +5089
==========================================
+ Hits 22154 27371 +5217
+ Misses 24738 24610 -128
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Of course it wouldn't be that easy...
I think the action itself assumes it's not running on a fork, and based on https://github.com/peter-evans/create-or-update-comment/issues/39, we'll have to create a bot app instead.
Thank you for testing this!
Superseeded by #4465.