Wordpress/.github/workflows
Jonathan Desrosiers 01e62f0cc3 Build/Test Tools: Change the event that triggers the “Welcome” workflow.
When a contributor opens their first pull request to `wordpress-develop`, the “Welcome” workflow runs and leaves a comment with guidance, helpful information, and resources.

However, because a workflow run triggered by the `pull_request` event runs against the workflow and code from the merge commit, the needed context and permissions to comment on the pull request are missing. By changing the trigger event to `pull_request_target`, the workflow runs against the workflow and code in the base of the pull request and is able to comment on when appropriate.

See #50401.

git-svn-id: https://develop.svn.wordpress.org/trunk@49169 602fd350-edb4-49c9-b593-d223f7449a82
2020-10-16 00:37:03 +00:00
..
coding-standards.yml
end-to-end-tests.yml
javascript-tests.yml
php-compatibility.yml
phpunit-tests.yml
verify-npm-on-windows.yml
welcome-new-contributors.yml Build/Test Tools: Change the event that triggers the “Welcome” workflow. 2020-10-16 00:37:03 +00:00