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
Error: this action requires a pull request context to be able to comment https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
#45
Closed
lucassabreu opened this issue
Nov 1, 2023
· 2 comments
After this commit, I have started getting below exception when I merge the change to the main branch:
Error: this action requires a pull request context to be able to comment
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request Stack: undefined
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Generate Clover Report
Can you advise if the Generate Clover Report step needs to be updated?
The text was updated successfully, but these errors were encountered:
if you add this to the step the error will vanish: if: ${{ github.event_name == 'pull_request' }}.
i will update the example with this later.
just to explain, this message was added because same users were expecting comments on the commits through the push event and that is not supported yet.
if you add this to the step the error will vanish: if: ${{ github.event_name == 'pull_request' }}.
i will update the example with this later.
just to explain, this message was added because same users were expecting comments on the commits through the push event and that is not supported yet.
so this message was supposed to alert them.
Thanks @lucassabreu appreciate your quick attention.
from @AnmolSaxenaVodafone at here
I am using the below step to generate a Clover report:
After this commit, I have started getting below exception when I merge the change to the main branch:
Can you advise if the Generate Clover Report step needs to be updated?
The text was updated successfully, but these errors were encountered: