The wok flow now runs on pull_request_event rather on pull_request.
On pull_request_event
it uses the secrets from the main repo's target branch
rather using it from the contributor's repo..
It was done so that the error which was arising
when a PR was raised from a fork can be averted
Describe about the changes that you made in your PR and also mentioning why it was necessary to do so. If this PR is a reply to any issue, then link the issue here too.
Check to be made before PR
[ ] Does the code result in any run time error? If yes then describe the error and the steps to reproduce it below.
[ ] Written tests for the changes you made.
[ ] Formatted the code with default configuration of Prettier code formatter.
The wok flow now runs on
pull_request_event
rather onpull_request
.On pull_request_event it uses the secrets from the main repo's target branch rather using it from the contributor's repo..
It was done so that the error which was arising when a PR was raised from a fork can be averted
Describe about the changes that you made in your PR and also mentioning why it was necessary to do so. If this PR is a reply to any issue, then link the issue here too.
Check to be made before PR
Prettier
code formatter.