Closed jh-leong closed 3 months ago
@jh-leong I couldn't reproduce what you say. This looks like could be the solution
The artifacts idea is not good either: it can be tampered in the origin.
This is another approach that we could attempt, imo even better because that way, in runs logs, they're grouped and it's easier to know the general flow of what's happening.
/cc @sxzz
I noticed that the size report action has not been working recently.
The failure is due to the action using
github.event.workflow_run.pull_requests[0].number
to read the PR number. However, according to GitHub's security policy (ref: https://github.com/orgs/community/discussions/25220), this approach does not work for PRs from forked repositories aspull_requests
can be empty.To resolve this, I have reverted the method of retrieving the PR number to the previous implementation using artifact.