[CI] Fix github actions automation for auto-comment and auto-label
When the project started it was using pull_request_target event in github actions to trigger some automation. But due to vulnerabilities in the workflow, we are currently using pull_request event, because of which the automation stopped working.
The expected flow is
PR created ---labeller---> PR labelled (domain) ---merge---> PR comment with instructions for the user
I can take a look into this!
@jasonappah, feel free to pick this up. Let me know if you need any more context regarding this issue.
#730
maybe try checking out this link
This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it
My bad, I got sidetracked with school, will get back to fixing this today!
@jasonappah, that's alright. If you have any alternate ideas on how to achieve something similar to this, that'll be even better. Also, adding labels seems optional so if a solution only works for commenting on merged prs, that'll work too.
There are only three ways :
-
pull_request_target -
Webhooks+relay server+
repository_dispatch -
External CI/Pipeline
This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it
This issue has been marked as stale due to inactivity and will be closed. Comment anything on this PR to prevent it
Once #3017 is merged then this should all be fixed. As I have already fixed the automated responses
All fixed Closing this issue ☺️