WordPress.org

Make WordPress Core

Changeset 49169


Ignore:
Timestamp:
10/16/2020 12:37:03 AM (13 months ago)
Author:
desrosj
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.