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
The test for Flash space in the firmware is currently failing when posting a comment. The way the workflow was intended to work, CI would post a comment to the Pull Request with a summary of the flash space unavailable/available. I have been trying to find the root cause but haven't been able to trace it down.
IMO we should disable the commenting part of the workflow until we can find out a way to have this succeed to post.
Hi @mrpollo:
I described the cause here: #24395 (comment)
Based on that the way to get it running on fork PRs is changing the target to pull_request_target, but that also changes the behavior as described in my comment. I don't have a solution ready yet.
on: pull_request
jobs:
example:
runs-on: ubuntu-latest
# Check if the event is not triggered by a fork
if: github.event.pull_request.head.repo.full_name == github.repository
Hey, @alexcekay, thanks for your help; we have been trying to get this fixed for a few weeks now and seem to be getting closer, but we haven't totally found the issue.
Regarding failing tests, I think they should either pass or fail. We currently have a big issue with devs ignoring CI tests, mostly because they are known to constantly fail, and we want to avoid this situation by having tests we know always work.
IMO, we should find the problem with the workflow permissions so we can post comments from Forks. We seem to be missing a very specific permission. I'll continue testing on another repo where we can debug faster. Once we have the fix, we can pull it into this workflow.
My plan is to get this workflow back to posting comments before we push the v1.16 release.
Describe the bug
The test for Flash space in the firmware is currently failing when posting a comment. The way the workflow was intended to work, CI would post a comment to the Pull Request with a summary of the flash space unavailable/available. I have been trying to find the root cause but haven't been able to trace it down.
IMO we should disable the commenting part of the workflow until we can find out a way to have this succeed to post.
Relevant PRs
The text was updated successfully, but these errors were encountered: